🚧
Still under progress. Soon will be finished.
Description
Represents the reflected infer type
For example: type foo<T> = T extends Promise<infer U> ? U : never
Methods
-
getContext
codegetContext(): ProjectContextReturns
ProjectContext: -
getTSNode
codegetTSNode(): InferTypeNodeReturns
InferTypeNode: -
getTSType
codegetTSType(): TypeReturns
Type: -
getKind
codegetKind(): TypeKindReturns
TypeKind: -
getText
codegetText(): stringReturns
string: -
getConstraint
codegetConstraint(): ReflectedTypeNode<TypeNode> | nullReturns
ReflectedTypeNode<TypeNode> | null: -
serialize
codeSerializes the reflected type
serialize(): TypeReturns
Type:The type as a serializable object