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