From 44e04e7d2f2c44acb3782c6a2a91e3d4fe3088b2 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 11 Feb 2019 00:07:26 +0900 Subject: [PATCH] :zap: improvement(flowtype): update typings --- decls/i18n.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/decls/i18n.js b/decls/i18n.js index 8b468c610..ed1e3a093 100644 --- a/decls/i18n.js +++ b/decls/i18n.js @@ -62,6 +62,7 @@ declare type I18nOptions = { fallbackRoot?: boolean, sync?: boolean, silentTranslationWarn?: boolean, + silentFallbackWarn?: boolean, pluralizationRules?: { [lang: string]: (choice: number, choicesLength: number) => number, }, @@ -90,6 +91,8 @@ declare interface I18n { set formatter (formatter: Formatter): void, get silentTranslationWarn (): boolean, set silentTranslationWarn (silent: boolean): void, + get silentFallbackWarn (): boolean, + set silentFallbackWarn (slient: boolean): void, getLocaleMessage (locale: Locale): LocaleMessageObject, setLocaleMessage (locale: Locale, message: LocaleMessageObject): void, mergeLocaleMessage (locale: Locale, message: LocaleMessageObject): void,