ts-morph-structures

Home > ts-morph-structures > PropertyDeclarationImpl

PropertyDeclarationImpl class

Signature:

export default class PropertyDeclarationImpl implements PropertyDeclarationStructureClassIfc 

Implements: PropertyDeclarationStructureClassIfc

Constructors

Constructor Modifiers Description
(constructor)(isStatic, name)   Constructs a new instance of the PropertyDeclarationImpl class

Properties

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  

Methods

Method Modifiers Description
clone(source) static  
fromSignature(isStatic, signature) static  
toJSON()