Skip to content

EnumMember ​

ts
export interface EnumMember {
    name: string;
    value?: string | number | boolean | null;
    jsdoc?: string;
}

WARNING

Not to be used directly.

Representation of an enum member in the TypeScript AST. This interface includes properties for the name of the enum member, its optional value (which can be a string, number, boolean, or null), and any JSDoc comments associated with it.