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>(...args: [Key | Key[], ActualOptions] | [string | string[], TOpt & $Dictionary & object] | [string | string[], string, TOpt & $Dictionary]): TFunctionReturnOptionalDetails<Ret, 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>>

Parameters

ParameterType
...args[Key | Key[], ActualOptions] | [string | string[], TOpt & $Dictionary & object] | [string | string[], string, TOpt & $Dictionary]

Returns

TFunctionReturnOptionalDetails<Ret, TOpt>

Defined in

node_modules/i18next/typescript/t.d.ts:260

Properties

$TFunctionBrand

$TFunctionBrand: never

Defined in

node_modules/i18next/typescript/t.d.ts:259