Skip to content

EnumItem

ts
export interface EnumItem extends BaseItem {
    const?: boolean;
    members: EnumMember[];
}

WARNING

Not to be used directly.

Representation of an enum item in the TypeScript AST. This interface extends BaseItem and includes properties specific to enum declarations, such as whether the enum is a constant enum and an array of its members.

References