Skip to content

API Type MessageArg

github-actions[bot] edited this page Nov 30, 2026 · 3 revisions

Type Alias: MessageArg

type MessageArg = 
  | string
  | number
  | bigint
  | boolean
  | Date
  | LocalText
  | null
  | undefined;

Defined in: src/engine/localisation/Locale.ts:29

A value a message argument takes; a LocalText formats as its current string.

Clone this wiki locally