Home > ts-morph-structures > EnumMemberImpl
Signature:
export default class EnumMemberImpl implements EnumMemberStructureClassIfc
Implements: EnumMemberStructureClassIfc
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(name) | Constructs a new instance of the EnumMemberImpl class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| docs | readonly |
(JSDocImpl | string)[] | |
| initializer? | stringOrWriterFunction | undefined | (Optional) | |
| kind | readonly |
StructureKind.EnumMember | |
| leadingTrivia | readonly |
stringOrWriterFunction[] | |
| name | string | ||
| trailingTrivia | readonly |
stringOrWriterFunction[] | |
| value? | number | string | (Optional) Convenience property for setting the initializer. |
| Method | Modifiers | Description |
|---|---|---|
| clone(source) | static |
|
| toJSON() |