mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 09:40:21 +08:00
Missing function editNotification(...) added.
See editNotification() description at https://github.com/igorprado/react-notification-system.
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