Home > ts-morph-structures > EnumDeclarationImpl
Signature:
export default class EnumDeclarationImpl implements EnumDeclarationStructureClassIfc
Implements: EnumDeclarationStructureClassIfc
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(name) | Constructs a new instance of the EnumDeclarationImpl class |
| 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[] |
| Method | Modifiers | Description |
|---|---|---|
| clone(source) | static |
|
| toJSON() |