Skip to content

Commit

Permalink
Fixed #645 - Type for useToast
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 25, 2020
1 parent ee81506 commit 028a926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions exports/useToast.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/toast/useToast';
1 change: 1 addition & 0 deletions src/components/toast/useToast.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare function useToast(): { add(args:{ severity?: string, summary?: string, detail?: string, life?: number, closable?: boolean, group?: string }): void }

0 comments on commit 028a926

Please sign in to comment.