1 | import { GraphQLResolveInfo, FieldNode } from "graphql";
|
2 | export declare type GraphQLObjectResolver<TSource, TContext> = (source: TSource, fields: Record<string, ReadonlyArray<FieldNode>>, context: TContext, info: GraphQLResolveInfo) => any;
|
3 | declare module "graphql/type/definition" {
|
4 | interface GraphQLObjectType {
|
5 | resolveObject?: GraphQLObjectResolver<any, any>;
|
6 | }
|
7 | interface GraphQLObjectTypeConfig<TSource, TContext> {
|
8 | resolveObject?: GraphQLObjectResolver<TSource, TContext>;
|
9 | }
|
10 | }
|
11 |
|
\ | No newline at end of file |