🚧
Still under progress. Soon will be finished.
Description
Represents a type query.
For example: type foo = typeof Foo
where Foo
could be a class declaration.
Methods
-
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getTSNode
codegetTSNode(): TypeQueryNode
Returns
TypeQueryNode
: -
getTSType
codegetTSType(): Type
Returns
Type
: -
getKind
codegetKind(): TypeKind
Returns
TypeKind
: -
getPath
codegetPath(): string
Returns
string
: -
getLine
codegetLine(): number | null
Returns
number | null
: -
getText
codegetText(): string
Returns
string
: -
getTypeArguments
codegetTypeArguments(): ReflectedTypeNode<TypeNode>[]
Returns
ReflectedTypeNode<TypeNode>[]
: -
serialize
codeSerializes the reflected type
serialize(): Type
Returns
Type
:The type as a serializable object