Option 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 options of FunctionAnnotation and Markup are expressed as key/value pairs to allow their order to be maintained.

Signature:

export interface Option 

Properties

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