Merge pull request #24379 from izaxon/master

@types/react-notification-system: Missing function editNotification(...) added.
This commit is contained in:
Nathan Shively-Sanders
2018-03-26 15:16:14 -07:00
committed by GitHub

View File

@@ -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;