ts-morph-structures

Home > ts-morph-structures > ConstructorDeclarationImpl

ConstructorDeclarationImpl class

Signature:

export default class ConstructorDeclarationImpl implements ConstructorDeclarationStructureClassIfc 

Implements: ConstructorDeclarationStructureClassIfc

Properties

Property Modifiers Type Description
docs readonly (JSDocImpl | string)[]  
kind readonly StructureKind.Constructor  
leadingTrivia readonly stringOrWriterFunction[]  
overloads readonly ConstructorDeclarationOverloadImpl[]  
parameters readonly ParameterDeclarationImpl[]  
returnType?   stringOrWriterFunction | undefined (Optional)
returnTypeStructure   TypeStructures | undefined  
scope?   import(“ts-morph”).Scope<> | undefined (Optional)
statements readonly (StatementStructureImpls | stringOrWriterFunction)[]  
trailingTrivia readonly stringOrWriterFunction[]  
typeParameters readonly (TypeParameterDeclarationImpl | string)[]  

Methods

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