Link Search Menu Expand Document

Literal 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.

An immediately defined value.

Signature:

export interface Literal 

Remarks

Always contains a string value. In Function arguments and options, the expeted type of the value may result in the value being further parsed as a boolean or a number.

Properties

Property Modifiers Type Description
type   ‘literal’ | ‘nmtoken’ (BETA)
value   string (BETA)