Skip to content

Commit

Permalink
Further improved typings
Browse files Browse the repository at this point in the history
  • Loading branch information
qw3ry authored Jan 15, 2019
1 parent 2f219f8 commit e04dcc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ interface Toasted {
* @param message
* @param options
*/
register (name: string, message: string, options?: ToastOptions): void
register (name: string, message: string | ((payload: any) => string), options?: ToastOptions): void

/**
* Clear all toasts
Expand Down

0 comments on commit e04dcc5

Please sign in to comment.