UNPKG

334 BTypeScriptView Raw
1import { GraphQLFieldResolver, GraphQLResolveInfo } from 'graphql';
2import { Maybe } from '@graphql-tools/utils';
3export declare function chainResolvers<TArgs extends {
4 [argName: string]: any;
5}>(resolvers: Array<Maybe<GraphQLFieldResolver<any, any, TArgs>>>): (root: any, args: TArgs, ctx: any, info: GraphQLResolveInfo) => any;