Unicode MessageFormat for JavaScript
    Preparing search index...

    Interface MessageExpressionPart<P>

    The base formatted part for all expressions.

    interface MessageExpressionPart<P extends string> {
        dir?: "ltr" | "rtl";
        id?: string;
        locale?: string;
        parts?: { type: string; value?: unknown }[];
        type: P;
        value?: unknown;
    }

    Type Parameters

    • P extends string

      The "type" of the formatted part

    Hierarchy (View Summary)

    Index

    Properties

    dir?: "ltr" | "rtl"
    id?: string
    locale?: string
    parts?: { type: string; value?: unknown }[]
    type: P
    value?: unknown