Current section

Files

Jump to
common_graphql_client priv npm node_modules graphql-tools stitch getResponseKeyFromInfo.d.ts
Raw

priv/npm/node_modules/graphql-tools/stitch/getResponseKeyFromInfo.d.ts

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;