ts-morph-structures

Home > ts-morph-structures > ClassDeclarationImpl

ClassDeclarationImpl class

Signature:

export default class ClassDeclarationImpl implements ClassDeclarationStructureClassIfc 

Implements: ClassDeclarationStructureClassIfc

Properties

Property Modifiers Type Description
ctors readonly ConstructorDeclarationImpl[]  
decorators readonly DecoratorImpl[]  
docs readonly (JSDocImpl | string)[]  
extends   stringOrWriterFunction | undefined  
extendsStructure   TypeStructures | undefined  
getAccessors readonly GetAccessorDeclarationImpl[]  
hasDeclareKeyword   boolean  
implements readonly stringOrWriterFunction[] Treat this as a read-only array. Use .implementsSet to modify this.
implementsSet readonly TypeStructureSet  
isAbstract   boolean  
isDefaultExport   boolean  
isExported   boolean  
kind readonly StructureKind.Class  
leadingTrivia readonly stringOrWriterFunction[]  
methods readonly MethodDeclarationImpl[]  
name?   string | undefined (Optional)
properties readonly PropertyDeclarationImpl[]  
setAccessors readonly SetAccessorDeclarationImpl[]  
staticBlocks readonly ClassStaticBlockDeclarationImpl[]  
trailingTrivia readonly stringOrWriterFunction[]  
typeParameters readonly (TypeParameterDeclarationImpl | string)[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()