Link Search Menu Expand Document

MessageFormatOptions interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

export interface MessageFormatOptions 

Properties

Property Modifiers Type Description
localeMatcher?   ‘best fit’ | ‘lookup’ (BETA) (Optional) If given multiple locales, determines which algorithm to use when selecting between them; the default for Intl formatters is 'best fit'.
runtime?   Runtime (BETA) (Optional) The set of functions available during message resolution. If not set, defaults to defaultRuntime.