Home > ts-morph-structures > NumberTypeStructureImpl
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>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(value) | Constructs a new instance of the NumberTypeStructureImpl class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| kind | readonly |
(not declared) | |
| numberValue | readonly |
number | |
| writerFunction | readonly |
WriterFunction |
| Method | Modifiers | Description |
|---|---|---|
| clone(other) | static |
|
| get(name) | static |
Gets a singleton NumberTypeStructureImpl for the given name. |