Home > ts-morph-structures > PropertyDeclarationImpl
Signature:
export default class PropertyDeclarationImpl implements PropertyDeclarationStructureClassIfc
Implements: PropertyDeclarationStructureClassIfc
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(isStatic, name) | Constructs a new instance of the PropertyDeclarationImpl class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| decorators | readonly |
DecoratorImpl[] | |
| docs | readonly |
(JSDocImpl | string)[] | |
| hasAccessorKeyword | boolean | ||
| hasDeclareKeyword | boolean | ||
| hasExclamationToken | boolean | ||
| hasOverrideKeyword | boolean | ||
| hasQuestionToken | boolean | ||
| initializer? | stringOrWriterFunction | undefined | (Optional) | |
| isAbstract | boolean | ||
| isReadonly | boolean | ||
| isStatic | boolean | ||
| kind | readonly |
StructureKind.Property | |
| leadingTrivia | readonly |
stringOrWriterFunction[] | |
| name | string | ||
| scope? | import(“ts-morph”).Scope<> | undefined | (Optional) | |
| trailingTrivia | readonly |
stringOrWriterFunction[] | |
| type? | stringOrWriterFunction | undefined | (Optional) | |
| typeStructure | TypeStructures | undefined |
| Method | Modifiers | Description |
|---|---|---|
| clone(source) | static |
|
| fromSignature(isStatic, signature) | static |
|
| toJSON() |