Skip to content

pivotick v3.0.0


pivotick / I18nOptions / MessageValue

Type Alias: MessageValue ​

MessageValue = string | PluralForms | (params, i18n) => string

Defined in: interfaces/I18n.ts:40

One message: plain text with {name} placeholders, plural forms, or a function for anything the other two cannot say. A function gets the raw params and the graph's I18n, to format numbers itself. Messages are text, never HTML.