ts-morph-structures

Home > ts-morph-structures > PropertySignatureImpl

PropertySignatureImpl class

Signature:

export default class PropertySignatureImpl implements PropertySignatureStructureClassIfc 

Implements: PropertySignatureStructureClassIfc

Constructors

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

Properties

Property Modifiers Type Description
docs readonly (JSDocImpl | string)[]  
hasQuestionToken   boolean  
initializer?   stringOrWriterFunction | undefined (Optional)
isReadonly   boolean  
kind readonly StructureKind.PropertySignature  
leadingTrivia readonly stringOrWriterFunction[]  
name   string  
trailingTrivia readonly stringOrWriterFunction[]  
type?   stringOrWriterFunction | undefined (Optional)
typeStructure   TypeStructures | undefined  

Methods

Method Modifiers Description
clone(source) static  
toJSON()