@nestjs/graphql
Version:
GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.
10 lines • 470 B
TypeScript
/**
* 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