Interface: I18nextNamedCachedFormatter
Represents a cached formatter that is added to i18next with i18next.services.formatter.addCached
.
Since
7.1.0
Seealso
https://www.i18next.com/translation-function/formatting#adding-custom-format-function
Properties
cached
cached:
true
Defined in
projects/plugins/packages/i18next/src/lib/types.ts:193
name
name:
string
Defined in
projects/plugins/packages/i18next/src/lib/types.ts:194
Methods
format()
format(
lng
:undefined
|string
,options
:any
): (value
:any
) =>string
Parameters
Parameter | Type |
---|---|
lng | undefined | string |
options | any |
Returns
Function
Parameters
Parameter | Type |
---|---|
value | any |
Returns
string