From 7edffc6b4d0d33639d215d7fe0f5d141ca812527 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 10 Feb 2021 09:53:33 +0300 Subject: [PATCH] Fixed #958 - useToast.d.ts missing api method definitions --- src/components/usetoast/UseToast.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/usetoast/UseToast.d.ts b/src/components/usetoast/UseToast.d.ts index eca896906..660d334ff 100644 --- a/src/components/usetoast/UseToast.d.ts +++ b/src/components/usetoast/UseToast.d.ts @@ -1 +1,5 @@ -export declare function useToast(): { add(args:{ severity?: string, summary?: string, detail?: string, life?: number, closable?: boolean, group?: string }): void } \ No newline at end of file +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; +}