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

MessageLiteral class

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.

A child class of MessageValue for values defined directly in the message data.

Signature:

export declare class MessageLiteral extends MessageValue<string> 

Extends: MessageValue<string>

Constructors

Constructor Modifiers Description
(constructor)(literal, fmt)   (BETA) Constructs a new instance of the MessageLiteral class

Methods

Method Modifiers Description
toString()   (BETA)