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

The attributes of Expression and Markup are expressed as key/value pairs to allow their order to be maintained.


export interface Attribute 


Property Modifiers Type Description
[cst]?   CST.Attribute (BETA) (Optional)
name   string (BETA)
type?   never (BETA) (Optional)
value?   Literal | VariableRef (BETA) (Optional)