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

When the parser encounters an expression with reserved syntax, it emits an UnsupportedAnnotation to represent it.


export interface UnsupportedAnnotation 


As the meaning of this syntax is not supported, it will always resolve with a fallback representation and emit an error.


Property Modifiers Type Description
[cst]?   CST.ReservedAnnotation (BETA) (Optional)
name?   never (BETA) (Optional)
options?   never (BETA) (Optional)
source   string (BETA)
type   ‘unsupported-annotation’ (BETA)