[I] EnumMember
A named enum entry retaining both its owning enum and any spread source.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
creating? | public | true | If the type is currently being created. | - | BaseType.creating |
decorators | public | DecoratorApplication[] | - | - | DecoratedType.decorators |
entityKind | readonly | "Type" | - | - | BaseType.entityKind |
enum | public | Enum | Owning enum; spread copies belong to the receiving enum. | - | - |
instantiationParameters? | public | Type[] | - | - | BaseType.instantiationParameters |
isFinished | public | boolean | Reflect if a type has been finished(Decorators have been called). There is multiple reasons a type might not be finished: - a template declaration will not - a template instance that argument that are still template parameters - a template instance that is only partially instantiated(like a templated operation inside a templated interface) | - | BaseType.isFinished |
kind | public | "EnumMember" | Discriminant for a member declaration rather than an enum value wrapper. | BaseType.kind | - |
name | public | string | Member name, distinct from any explicitly assigned value. | - | - |
node? | public | EnumMemberNode | Node used to construct this type. If the node is undefined it means the type was dynamically built. With typekit for example. | BaseType.node | - |
sourceMember? | public | EnumMember | when spread operators make new enum members, this tracks the enum member we copied from. | - | - |
value? | public | string | number | Explicitly assigned value, or undefined for a member declared with only a name. | - | - |