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 Signature
set onLanguageChange(
value
):void
Parameters
• value: LanguageChangeHandler
Returns
void