Interface: TFunction()<Ns, KPrefix>
T function declaration *
Type Parameters
Type Parameter | Default type |
---|---|
Ns extends Namespace | DefaultNamespace |
KPrefix | undefined |
TFunction<
Key
,TOpt
,Ret
,ActualOptions
,DefaultValue
>(...args
: [Key
|Key
[],ActualOptions
] | [string
|string
[],TOpt
&$Dictionary
&object
] | [string
|string
[],DefaultValue
,TOpt
&$Dictionary
]):TFunctionReturnOptionalDetails
<TFunctionProcessReturnValue
<$NoInfer
<Ret
>,DefaultValue
>,TOpt
>
T function declaration *
Type Parameters
Type Parameter | Default type |
---|---|
Key extends string | TemplateStringsArray | - |
TOpt extends TOptions | - |
Ret extends string | $SpecialObject | - |
ActualOptions extends TOptionsBase & $Dictionary | TOpt & $PreservedValue <$UnionToIntersection <$StringKeyPathToRecordUnion <ParseInterpolationValues <Ret >, unknown >>, Record <string , unknown >> |
DefaultValue extends string | never |
Parameters
Parameter | Type |
---|---|
...args | [Key | Key [], ActualOptions ] | [string | string [], TOpt & $Dictionary & object ] | [string | string [], DefaultValue , TOpt & $Dictionary ] |
Returns
TFunctionReturnOptionalDetails
<TFunctionProcessReturnValue
<$NoInfer
<Ret
>, DefaultValue
>, TOpt
>
Defined in
node_modules/i18next/typescript/t.d.ts:285
Properties
$TFunctionBrand
$TFunctionBrand:
never
Defined in
node_modules/i18next/typescript/t.d.ts:284