Skip to content

Commit

Permalink
💥 update(flowtype): argument names
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Mar 20, 2017
1 parent ebb885e commit cf14425
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions decls/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ declare interface I18n {
set formatter (formatter: Formatter): void,
getLocaleMessage (locale: Locale): LocaleMessage,
setLocaleMessage (locale: Locale, message: LocaleMessage): void,
t (key: Path, ...args: any): TranslateResult,
tc (key: Path, choice?: number, ...args: any): TranslateResult,
t (key: Path, ...values: any): TranslateResult,
tc (key: Path, choice?: number, ...values: any): TranslateResult,
te (key: Path, ...args: any): boolean,
watchLocale (): any,
unwatchLocale (): boolean
Expand All @@ -44,5 +44,5 @@ declare interface I18n {
declare type FormatterOptions = { [key: string]: any };

declare interface Formatter {
format (message: string, ...args: any): string
format (message: string, ...values: any): string
};

0 comments on commit cf14425

Please sign in to comment.