getResponseKeyFromInfo.d.ts 315 B

1234567
  1. import { GraphQLResolveInfo } from 'graphql';
  2. /**
  3. * Get the key under which the result of this resolver will be placed in the response JSON. Basically, just
  4. * resolves aliases.
  5. * @param info The info argument to the resolver.
  6. */
  7. export declare function getResponseKeyFromInfo(info: GraphQLResolveInfo): string;