Skip to content

API reference / @localizer/core / ValueFormatter

Type Alias: ValueFormatter()<T>

ValueFormatter<T> = (value) => Localizable

Defined in: types/formatter.ts:27

Formats a value of type T into a Localizable representation.

Type Parameters

Type ParameterDescription
TThe type of the value to format.

Parameters

ParameterType
valueT

Returns

Localizable

See

Localizable