🚧
Still under progress. Soon will be finished.
Description
Represents the reflected binding element node. A binding element appears in the named parameters of a signature.
Methods
-
getTSNode
codeThe TypeScript AST node related to this reflected node
getTSNode(): BindingElementReturns
BindingElement:The original TypeScript node
-
getContext
codeThe context includes useful APIs that are shared across all the reflected symbols. Some APIs include the parsed configuration options, the system interface, the type checker
getContext(): ProjectContextReturns
ProjectContext:The analyser context
-
getName
codeReads the name of the binding element node
getName(): stringReturns
string:The name of the binding element
-
getDefault
codeThe default value of the binding element.
getDefault(): unknownReturns
unknown:The default value, otherwise it will return
undefined -
serialize
codeSerializes the reflected node
serialize(): BindingElementReturns
BindingElement:The reflected node as a serializable object