Skip to main content Link Menu Expand (external link) Document Search Copy Copied


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.

Constructs a new instance of the MessageLiteral class


constructor(literal: string, fmt?: {
        meta?: Readonly<Meta>;


Parameter Type Description
literal string  
fmt { meta?: Readonly<Meta>; } (Optional)