ts-morph-structures

Home > ts-morph-structures > NumberTypeStructureImpl

NumberTypeStructureImpl class

Numbers (boolean, number, string, void, etc.), without quotes, brackets, or anything else around them. Leaf nodes.

Signature:

export default class NumberTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.Number> 

Extends: TypeStructuresBase<TypeStructureKind.Number>

Constructors

Constructor Modifiers Description
(constructor)(value)   Constructs a new instance of the NumberTypeStructureImpl class

Properties

Property Modifiers Type Description
kind readonly (not declared)  
numberValue readonly number  
writerFunction readonly WriterFunction  

Methods

Method Modifiers Description
clone(other) static  
get(name) static Gets a singleton NumberTypeStructureImpl for the given name.