Skip to content

Commit

Permalink
Update react-notification-system.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AyaMorisawa committed Jan 12, 2016
1 parent 984a41a commit e52bf13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions react-notification-system/react-notification-system.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ declare module NotificationSystem {
import React = __React;

export interface System extends React.Component<any, any> {
addNotification(notification: Notification): Notification;
removeNotification(notification: Notification): void;
addNotification(notification: Notification): Notification;
removeNotification(notification: Notification): void;
removeNotification(uid: string): void;
}

Expand All @@ -34,7 +34,7 @@ declare module NotificationSystem {

export interface ActionObject {
label: string;
callback?: Function;
callback?: () => void;
}

export interface ContainersStyle {
Expand Down Expand Up @@ -75,7 +75,7 @@ declare module NotificationSystem {
ref?: string;
style?: Style | boolean;
}


export interface Component {
(): React.ReactElement<Attributes>;
Expand Down

0 comments on commit e52bf13

Please sign in to comment.