Home > ts-morph-structures > MethodSignatureImpl
Signature:
export default class MethodSignatureImpl implements MethodSignatureStructureClassIfc
Implements: MethodSignatureStructureClassIfc
Constructor | Modifiers | Description |
---|---|---|
(constructor)(name) | Constructs a new instance of the MethodSignatureImpl class |
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)[] |
Method | Modifiers | Description |
---|---|---|
clone(source) | static |
|
toJSON() |