MFML - v0.0.4
    Preparing search index...

    Interface ArgumentFormatterParams

    Params provided to a ArgumentFormatter.

    interface ArgumentFormatterParams {
        locale: string;
        options: null | Record<string, any>;
        style: null | string;
        type: null | string;
        value: unknown;
    }
    Index

    Properties

    locale: string

    The message locale.

    options: null | Record<string, any>

    Argument options, or null if there are no options.

    style: null | string

    The formatting style to apply ("decimal", "currency", etc.) or null if style wasn't provided.

    type: null | string

    The type of format to apply ("number", "date", "plural", "selectOrdinal", "select", etc.) or null if type wasn't provided.

    value: unknown

    The value of an argument.