API reference / @localizer/translate / PluralTranslationMap
Type Alias: PluralTranslationMap<T> experimental
PluralTranslationMap<
T
> = { [K in T]?: string | Localizable } & { [K in PluralCategory]?: string | Localizable }
Defined in: plural.ts:84
Type definition for a plural translation map.
Maps numeric values or plural categories to their corresponding translations.
Type Parameters
Type Parameter | Description |
---|---|
T extends number | The type of numeric values that the map can handle. |