Home > ts-morph-structures > FunctionDeclarationImpl
Signature:
export default class FunctionDeclarationImpl implements FunctionDeclarationStructureClassIfc
Implements: FunctionDeclarationStructureClassIfc
Property | Modifiers | Type | Description |
---|---|---|---|
docs | readonly |
(JSDocImpl | string)[] | |
hasDeclareKeyword | boolean | ||
isAsync | boolean | ||
isDefaultExport | boolean | ||
isExported | boolean | ||
isGenerator | boolean | ||
kind | readonly |
StructureKind.Function | |
leadingTrivia | readonly |
stringOrWriterFunction[] | |
name? | string | undefined | (Optional) | |
overloads | readonly |
FunctionDeclarationOverloadImpl[] | |
parameters | readonly |
ParameterDeclarationImpl[] | |
returnType? | stringOrWriterFunction | undefined | (Optional) | |
returnTypeStructure | TypeStructures | undefined | ||
statements | readonly |
(StatementStructureImpls | stringOrWriterFunction)[] | |
trailingTrivia | readonly |
stringOrWriterFunction[] | |
typeParameters | readonly |
(TypeParameterDeclarationImpl | string)[] |
Method | Modifiers | Description |
---|---|---|
clone(source) | static |
|
toJSON() |