UNPKG

558 BTypeScriptView Raw
1import { GraphQLResolveInfo } from 'graphql';
2import { FieldMiddleware } from '../interfaces';
3export declare function decorateFieldResolverWithMiddleware<TSource extends object = any, TContext = {}, TArgs = {
4 [argName: string]: any;
5}, TOutput = any>(originalResolveFnFactory: (...args: [TSource, TArgs, TContext, GraphQLResolveInfo]) => Function, middlewareFunctions?: FieldMiddleware[]): (root: TSource, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TOutput | Promise<TOutput>;
6//# sourceMappingURL=decorate-field-resolver.util.d.ts.map
\No newline at end of file