🚧
Still under progress. Soon will be finished.
Description
Represents the reflected node of a type parameter
Methods
-
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getName
codegetName(): string
Returns
string
: -
getTSNode
codegetTSNode(): TypeParameterDeclaration
Returns
TypeParameterDeclaration
: -
getLine
codegetLine(): number
Returns
number
: -
getDefault
codegetDefault(): ReflectedTypeNode<TypeNode> | null
Returns
ReflectedTypeNode<TypeNode> | null
: -
getConstraint
codegetConstraint(): ReflectedTypeNode<TypeNode> | null
Returns
ReflectedTypeNode<TypeNode> | null
: -
hasDefault
codehasDefault(): boolean
Returns
boolean
: -
serialize
codeSerializes the reflected node
serialize(): TypeParameter
Returns
TypeParameter
:The reflected node as a serializable object