ts-morph-structures

Home > ts-morph-structures > ParameterDeclarationImpl

ParameterDeclarationImpl class

Signature:

export default class ParameterDeclarationImpl implements ParameterDeclarationStructureClassIfc 

Implements: ParameterDeclarationStructureClassIfc

Constructors

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

Properties

Property Modifiers Type Description
decorators readonly DecoratorImpl[]  
hasOverrideKeyword   boolean  
hasQuestionToken   boolean  
initializer?   stringOrWriterFunction | undefined (Optional)
isReadonly   boolean  
isRestParameter   boolean  
kind readonly StructureKind.Parameter  
leadingTrivia readonly stringOrWriterFunction[]  
name   string  
scope?   import(“ts-morph”).Scope<> | undefined (Optional)
trailingTrivia readonly stringOrWriterFunction[]  
type?   stringOrWriterFunction | undefined (Optional)
typeStructure   TypeStructures | undefined  

Methods

Method Modifiers Description
clone(source) static  
toJSON()