Skip to main content

Interface: TFunction()<Ns, KPrefix>


T function declaration *


Type parameters

Type parameterValue
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>

Type parameters

Type parameterValue
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>

Source

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

Properties

$TFunctionBrand

$TFunctionBrand: never

Source

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