Interface: I18nextNamedFormatter
Represents a cached formatter that is added to i18next with i18next.services.formatter.add
.
Since
7.1.0
Seealso
https://www.i18next.com/translation-function/formatting#adding-custom-format-function
Extended by
Properties
cached?
optional
cached:false
Defined in
projects/plugins/packages/i18next/src/lib/types.ts:181
name
name:
string
Defined in
projects/plugins/packages/i18next/src/lib/types.ts:182
Methods
format()
format(
value
:any
,lng
:undefined
|string
,options
:any
):string
Parameters
Parameter | Type |
---|---|
value | any |
lng | undefined | string |
options | any |
Returns
string