Skip to content

Commit 9048925

Browse files
Add missing remove function to toaster type
1 parent b5efd40 commit 9048925

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2843,6 +2843,10 @@ export const toaster: {
28432843
* Returns all visible Toasts.
28442844
*/
28452845
getToasts: () => Toast[]
2846+
/**
2847+
* Removes toast with specific id
2848+
*/
2849+
remove: (id: string) => void
28462850
}
28472851

28482852
export interface OverlayProps

0 commit comments

Comments
 (0)