I18N
I18N<
T
>:object
Type Parameters
• T extends object
Type declaration
changeLanguage()
changeLanguage: (
language
) =>void
Parameters
• language: Language
Returns
void
resolvedLanguage
readonly
resolvedLanguage:Language
t()
readonly
t: (key
) =>string
Parameters
• key: TranslationKey
<T
>
Returns
string
onLanguageChange
set
onLanguageChange(value
):void
Parameters
• value: LanguageChangeHandler