🚧
Still under progress. Soon will be finished.
Description
Represents the reflected function type
For example: () => void
Methods
-
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getTSNode
codegetTSNode(): FunctionTypeNode
Returns
FunctionTypeNode
: -
getTSType
codegetTSType(): Type
Returns
Type
: -
getKind
codegetKind(): TypeKind
Returns
TypeKind
: -
getText
codegetText(): string
Returns
string
: -
getTypeParameters
codegetTypeParameters(): TypeParameterNode[]
Returns
TypeParameterNode[]
: -
getParameters
codegetParameters(): ParameterNode[]
Returns
ParameterNode[]
: -
getReturnType
codegetReturnType(): ReflectedTypeNode<TypeNode>
Returns
ReflectedTypeNode<TypeNode>
: -
serialize
codeSerializes the reflected type
serialize(): Type
Returns
Type
:The type as a serializable object