From cf14425c94444c6ca6a5e31e32d8f7be59bb1824 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Tue, 21 Mar 2017 01:07:51 +0900 Subject: [PATCH] :boom: update(flowtype): argument names --- decls/i18n.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/decls/i18n.js b/decls/i18n.js index f435d8e49..e841107b5 100644 --- a/decls/i18n.js +++ b/decls/i18n.js @@ -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 @@ -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 };