UNPKG

@nestjs/graphql

Version:

Nest - modern, fast, powerful node.js web framework (@graphql)

10 lines • 470 B
/** * Returns the keys of the members of an enum object. * * Besides its members, the object TypeScript emits for an enum holds a reverse * mapping ("value -> name") for every numeric member, and the exports of a * namespace merged with the enum (functions, arrays, objects). None of them * is a member of the enum. */ export declare function getEnumMemberKeys(enumRef: Record<string, unknown>): string[]; //# sourceMappingURL=get-enum-member-keys.helper.d.ts.map