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.

Signature:

export interface UnsupportedAnnotation 

Remarks

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

Properties

Property Modifiers Type Description
[cst]?   CST.ReservedAnnotation (BETA) (Optional)
name?   never (BETA) (Optional)
options?   never (BETA) (Optional)
sigil   ’!’ | ‘@’ | ‘#’ | ‘%’ | ‘^’ | ‘&’ | ‘*’ | ‘<’ | ‘>’ | ‘?’ | ‘~’ | ‘�’ (BETA)
source   string (BETA)
type   ‘unsupported-annotation’ (BETA)