Fixed #1836 - For UseToast

pull/1846/head
mertsincan 2021-12-02 00:12:52 +03:00
parent 990fb8d46e
commit 3ca3ab8f17
1 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,3 @@
export declare function useToast(): {
add(args:{ severity?: string, summary?: string, detail?: string, life?: number, closable?: boolean, group?: string }): void;
removeGroup(group: string): void;
removeAllGroups(): void;
}
import { ToastServiceMethods } from '../toastservice';
export declare function useToast(): ToastServiceMethods;