Skip to content

Commit

Permalink
⚡ improvement(flow): update TranslateResult type interface
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Mar 11, 2018
1 parent 87a3398 commit 59f4658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decls/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ declare type NumberFormatOptions = {
declare type NumberFormat = { [key: string]: NumberFormatOptions };
declare type NumberFormats = { [key: Locale]: NumberFormat };

declare type TranslateResult = string | Array<any>;
declare type TranslateResult = string | LocaleMessages;
declare type DateTimeFormatResult = string;
declare type NumberFormatResult = string;
declare type MissingHandler = (locale: Locale, key: Path, vm?: any) => void;
Expand Down

0 comments on commit 59f4658

Please sign in to comment.