🚧
Still under progress. Soon will be finished.
Description
Represents a type reference. It’s basically a type that references another one.
For example: type foo = HTMLElement
Methods
-
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getTSNode
codegetTSNode(): TypeReferenceNode
Returns
TypeReferenceNode
: -
getTSType
codegetTSType(): Type
Returns
Type
: -
getKind
codegetKind(): TypeKind
Returns
TypeKind
: -
getText
codegetText(): string
Returns
string
: -
getPath
codegetPath(): string
Returns
string
: -
getLine
codegetLine(): number | null
Returns
number | null
: -
getTypeArguments
codegetTypeArguments(): ReflectedTypeNode<TypeNode>[]
Returns
ReflectedTypeNode<TypeNode>[]
: -
serialize
codeSerializes the reflected type
serialize(): Type
Returns
Type
:The type as a serializable object