View as Markdown

API reference: @salmonui/data-grid/engine

LocaleMessagetype

import type { LocaleMessage } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid/engine/locale.

type LocaleMessage = string | {
    readonly zero?: string;
    readonly one?: string;
    readonly two?: string;
    readonly few?: string;
    readonly many?: string;
    readonly other: string;
};

A message: a {param} template, or plural forms chosen by Intl.PluralRules for count (other is required).