🚧
Still under progress. Soon will be finished.
Description
Represents the reflected conditional type.
For example: type foo<T> = T extends boolean ? 1 : 0
Methods
-
getContext
codegetContext(): ProjectContextReturns
ProjectContext: -
getTSNode
codegetTSNode(): ConditionalTypeNodeReturns
ConditionalTypeNode: -
getTSType
codegetTSType(): TypeReturns
Type: -
getKind
codegetKind(): TypeKindReturns
TypeKind: -
getText
codegetText(): stringReturns
string: -
getCheckType
codegetCheckType(): ReflectedTypeNode<TypeNode>Returns
ReflectedTypeNode<TypeNode>: -
getExtendsType
codegetExtendsType(): ReflectedTypeNode<TypeNode>Returns
ReflectedTypeNode<TypeNode>: -
getTrueType
codegetTrueType(): ReflectedTypeNode<TypeNode>Returns
ReflectedTypeNode<TypeNode>: -
getFalseType
codegetFalseType(): ReflectedTypeNode<TypeNode>Returns
ReflectedTypeNode<TypeNode>: -
serialize
codeSerializes the reflected type
serialize(): TypeReturns
Type:The type as a serializable object