ts-morph-structures

Home > ts-morph-structures > IndexSignatureDeclarationImpl

IndexSignatureDeclarationImpl class

Signature:

export default class IndexSignatureDeclarationImpl implements IndexSignatureDeclarationStructureClassIfc 

Implements: IndexSignatureDeclarationStructureClassIfc

Properties

Property Modifiers Type Description
docs readonly (JSDocImpl | string)[]  
isReadonly   boolean  
keyName?   string (Optional)
keyType   string | undefined  
keyTypeStructure   TypeStructures | undefined  
kind readonly StructureKind.IndexSignature  
leadingTrivia readonly stringOrWriterFunction[]  
returnType?   stringOrWriterFunction | undefined (Optional)
returnTypeStructure   TypeStructures | undefined  
trailingTrivia readonly stringOrWriterFunction[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()