🚧
Still under progress. Soon will be finished.
Description
Represents the reflected intersection type.
For example: type foo = string & number
Methods
-
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getTSNode
codegetTSNode(): IntersectionTypeNode
Returns
IntersectionTypeNode
: -
getTSType
codegetTSType(): Type
Returns
Type
: -
getKind
codegetKind(): TypeKind
Returns
TypeKind
: -
getText
codegetText(): string
Returns
string
: -
getElements
codegetElements(): ReflectedTypeNode<TypeNode>[]
Returns
ReflectedTypeNode<TypeNode>[]
: -
serialize
codeSerializes the reflected type
serialize(): Type
Returns
Type
:The type as a serializable object