mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #24379 from izaxon/master
@types/react-notification-system: Missing function editNotification(...) added.
This commit is contained in:
+1
@@ -12,6 +12,7 @@ declare namespace NotificationSystem {
|
||||
addNotification(notification: Notification): Notification;
|
||||
removeNotification(uidOrNotification: number | string | Notification): void;
|
||||
clearNotifications(): void;
|
||||
editNotification(uidOrNotification: number | string | Notification, newNotification: Notification): void;
|
||||
}
|
||||
|
||||
export type CallBackFunction = (notification: Notification) => void;
|
||||
|
||||
Reference in New Issue
Block a user