Literal interface

This API is provided as a beta 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
[cst]?   CST.Literal (BETA) (Optional)
type   ‘literal’ (BETA)
value   string (BETA)