Fixed #645 - Type for useToast

pull/682/head
Cagatay Civici 2020-11-25 11:39:17 +03:00
parent ee81506e57
commit 028a926a27
2 changed files with 2 additions and 0 deletions

1
exports/useToast.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export * from './components/toast/useToast';

1
src/components/toast/useToast.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export declare function useToast(): { add(args:{ severity?: string, summary?: string, detail?: string, life?: number, closable?: boolean, group?: string }): void }