This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
admin-panel/graphql-types/node_modules/@graphql-tools/utils/getResponseKeyFromInfo.d.ts

8 lines
315 B
TypeScript

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