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

Signature:

export interface Variant 

Properties

Property Modifiers Type Description
[cst]?   CST.Variant (BETA) (Optional)
keys   Array<Literal | CatchallKey> (BETA)
type?   never (BETA) (Optional)
value   Pattern (BETA)