Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/i18n
MtcuteI18nFunction
Type Alias MtcuteI18nFunction<Strings, Input>
MtcuteI18nFunction
:
<
K
extends
NestedKeysDelimited
<
Strings
>
>
(
lang
:
Input
|
string
|
null
,
key
:
K
,
...
params
:
ExtractParameter
<
Strings
,
K
>
,
)
=>
I18nValueLiteral
Translation function.
Type Parameters
Strings
Input
Type declaration
<
K
extends
NestedKeysDelimited
<
Strings
>
>
(
lang
:
Input
|
string
|
null
,
key
:
K
,
...
params
:
ExtractParameter
<
Strings
,
K
>
,
)
:
I18nValueLiteral
Type Parameters
K
extends
NestedKeysDelimited
<
Strings
>
Parameters
lang
:
Input
|
string
|
null
key
:
K
...
params
:
ExtractParameter
<
Strings
,
K
>
Returns
I18nValueLiteral
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation - v0.19.5
Loading...
Translation function.