mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Merge pull request #24379 from izaxon/master
@types/react-notification-system: Missing function editNotification(...) added.
This commit is contained in:
1
types/react-notification-system/index.d.ts
vendored
1
types/react-notification-system/index.d.ts
vendored
@@ -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