ts-morph-structures

Home > ts-morph-structures > MethodSignatureImpl

MethodSignatureImpl class

Signature:

export default class MethodSignatureImpl implements MethodSignatureStructureClassIfc 

Implements: MethodSignatureStructureClassIfc

Constructors

Constructor Modifiers Description
(constructor)(name)   Constructs a new instance of the MethodSignatureImpl class

Properties

Property Modifiers Type Description
docs readonly (JSDocImpl | string)[]  
hasQuestionToken   boolean  
kind readonly StructureKind.MethodSignature  
leadingTrivia readonly stringOrWriterFunction[]  
name   string  
parameters readonly ParameterDeclarationImpl[]  
returnType?   stringOrWriterFunction | undefined (Optional)
returnTypeStructure   TypeStructures | undefined  
trailingTrivia readonly stringOrWriterFunction[]  
typeParameters readonly (TypeParameterDeclarationImpl | string)[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()