ts-morph-structures

Home > ts-morph-structures > EnumDeclarationImpl

EnumDeclarationImpl class

Signature:

export default class EnumDeclarationImpl implements EnumDeclarationStructureClassIfc 

Implements: EnumDeclarationStructureClassIfc

Constructors

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

Properties

Property Modifiers Type Description
docs readonly (JSDocImpl | string)[]  
hasDeclareKeyword   boolean  
isConst   boolean  
isDefaultExport   boolean  
isExported   boolean  
kind readonly StructureKind.Enum  
leadingTrivia readonly stringOrWriterFunction[]  
members readonly EnumMemberImpl[]  
name   string  
trailingTrivia readonly stringOrWriterFunction[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()