🚧
Still under progress. Soon will be finished.
Description
Base specification of what a reflected type should have.
Methods
-
getText
codeThe type representation as text
getText(): stringReturns
string: -
getTSType
codeThe original type generated by the TypeScript compiler
getTSType(): TypeReturns
Type: -
getKind
codeThe kind of type (intersection, union, conditional, literal, etc…)
getKind(): TypeKindReturns
TypeKind: -
getTSNode
codeThe original node generated by the TypeScript compiler
getTSNode(): T | nullReturns
T | null: -
getContext
codeReturns the context in which the AST node was created. The context contains useful utilities like the TS type checker.
getContext(): ProjectContextReturns
ProjectContext: -
serialize
codeReturns a simple readonly JavaScript object without methods or internal state.
serialize(): TypeReturns
Type: