TypeDef
Import from @varavel/vdl-plugin-sdk.
Flattened type definition.
All spreads are already expanded. The unified typeRef describes what this
type IS, a primitive, custom reference, map, array, or object with fields.
Properties
| Property | Type | Description |
|---|---|---|
annotations |
Annotation[] |
Type annotations in source order |
doc? |
string |
Optional type documentation |
name |
string |
Type name |
position |
Position |
Source position of this type definition. Will be zero valued if the type was inferred by the compiler. |
typeRef |
TypeRef |
Unified type reference describing what this type IS |