From e52bf136cd6447937bedc248a28cbf22d23d70a9 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Tue, 12 Jan 2016 22:58:20 +0900 Subject: [PATCH] Update react-notification-system.d.ts --- react-notification-system/react-notification-system.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/react-notification-system/react-notification-system.d.ts b/react-notification-system/react-notification-system.d.ts index 52a5d7d988..04e6313a23 100644 --- a/react-notification-system/react-notification-system.d.ts +++ b/react-notification-system/react-notification-system.d.ts @@ -10,8 +10,8 @@ declare module NotificationSystem { import React = __React; export interface System extends React.Component { - addNotification(notification: Notification): Notification; - removeNotification(notification: Notification): void; + addNotification(notification: Notification): Notification; + removeNotification(notification: Notification): void; removeNotification(uid: string): void; } @@ -34,7 +34,7 @@ declare module NotificationSystem { export interface ActionObject { label: string; - callback?: Function; + callback?: () => void; } export interface ContainersStyle { @@ -75,7 +75,7 @@ declare module NotificationSystem { ref?: string; style?: Style | boolean; } - + export interface Component { (): React.ReactElement;