Skip to content

Commit

Permalink
fix(type-error): Set correct duration type
Browse files Browse the repository at this point in the history
fixes #28
  • Loading branch information
hypery2k committed Jul 13, 2017
1 parent 22790a8 commit 093c72b
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 @@ -42,6 +42,6 @@ declare module 'nativescript-toast' {
setDuration(duration: Number): void;
}

export function makeText(text: string, duration?: duration): Toast;
export function makeText(text: string, duration?: string): Toast;

}

0 comments on commit 093c72b

Please sign in to comment.