Type alias Message

Message: {
    attributes: Record<string, Pattern>;
    id: string;
    value: Pattern | null;
}

Raw messages are {value, attributes} shapes containing translation units called Patterns. Patterns are implementation-specific; they should be treated as black boxes and formatted with FluentBundle.formatPattern.

Type declaration

  • attributes: Record<string, Pattern>
  • id: string
  • value: Pattern | null