Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit cf14425

Browse files
committed
💥 update(flowtype): argument names
1 parent ebb885e commit cf14425

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

decls/i18n.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ declare interface I18n {
3434
set formatter (formatter: Formatter): void,
3535
getLocaleMessage (locale: Locale): LocaleMessage,
3636
setLocaleMessage (locale: Locale, message: LocaleMessage): void,
37-
t (key: Path, ...args: any): TranslateResult,
38-
tc (key: Path, choice?: number, ...args: any): TranslateResult,
37+
t (key: Path, ...values: any): TranslateResult,
38+
tc (key: Path, choice?: number, ...values: any): TranslateResult,
3939
te (key: Path, ...args: any): boolean,
4040
watchLocale (): any,
4141
unwatchLocale (): boolean
@@ -44,5 +44,5 @@ declare interface I18n {
4444
declare type FormatterOptions = { [key: string]: any };
4545

4646
declare interface Formatter {
47-
format (message: string, ...args: any): string
47+
format (message: string, ...values: any): string
4848
};

0 commit comments

Comments
 (0)