Skip to content

Commit

Permalink
Fix ts definition fkhadra#110
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Dec 22, 2017
1 parent 7029cf5 commit 99b080f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Transition from 'react-transition-group/Transition';

type ToastType = 'info' | 'success' | 'warning' | 'error' | 'default';

type ToastContent = React.ReactNode | () => void;
type ToastContent = React.ReactNode | { (): void };

interface styleProps {
width?: string;
Expand Down

0 comments on commit 99b080f

Please sign in to comment.