From fc89e65611bedf181bc934995b57715575f958d9 Mon Sep 17 00:00:00 2001 From: Johan Isaksson Date: Mon, 19 Mar 2018 14:51:13 +0100 Subject: [PATCH] Missing function editNotification(...) added. See editNotification() description at https://github.com/igorprado/react-notification-system. --- types/react-notification-system/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-notification-system/index.d.ts b/types/react-notification-system/index.d.ts index 8176ad097c..a993f6cc4d 100644 --- a/types/react-notification-system/index.d.ts +++ b/types/react-notification-system/index.d.ts @@ -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;