Skip to main content

Interface: TFunction()<Ns, KPrefix>


T function declaration *


Type Parameters

Type ParameterDefault type
Ns extends NamespaceDefaultNamespace
KPrefixundefined

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 ParameterDefault type
Key extends string | TemplateStringsArray-
TOpt extends TOptions-
Ret extends string | $SpecialObject-
ActualOptions extends TOptionsBase & $DictionaryTOpt & $PreservedValue<$UnionToIntersection<$StringKeyPathToRecordUnion<ParseInterpolationValues<Ret>, unknown>>, Record<string, unknown>>
DefaultValue extends stringnever

Parameters

ParameterType
...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