Interface ListFormatOptions

An object with some or all properties of the Intl.ListFormat constructor options parameter.

MDN.

interface ListFormatOptions {
    localeMatcher?: ListFormatLocaleMatcher;
    style?: ListFormatStyle;
    type?: ListFormatType;
}

Properties

localeMatcher?: ListFormatLocaleMatcher

The locale matching algorithm to use. For information about this option, see Intl page.

The length of the internationalized message.

The format of output message.