Class: TypeAlias
Represents a type alias definition, giving a new name to an existing type.
Example
ts
type String = [Char]Constructors
Constructor
new TypeAlias(
identifier,variables,value,loc?):TypeAlias
Parameters
| Parameter | Type |
|---|---|
identifier | SymbolPrimitive |
variables | string[] |
value | Type |
loc? | SourceLocation |
Returns
TypeAlias
Overrides
ASTNode.constructor