🚧
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(): ProjectContextReturns
ProjectContext: -
getTSNode
codegetTSNode(): TypeReferenceNodeReturns
TypeReferenceNode: -
getTSType
codegetTSType(): TypeReturns
Type: -
getKind
codegetKind(): TypeKindReturns
TypeKind: -
getText
codegetText(): stringReturns
string: -
getPath
codegetPath(): stringReturns
string: -
getLine
codegetLine(): number | nullReturns
number | null: -
getTypeArguments
codegetTypeArguments(): ReflectedTypeNode<TypeNode>[]Returns
ReflectedTypeNode<TypeNode>[]: -
serialize
codeSerializes the reflected type
serialize(): TypeReturns
Type:The type as a serializable object