12 lines
441 B
TypeScript
12 lines
441 B
TypeScript
import { GraphQLFieldResolver, GraphQLScalarType } from "graphql";
|
|
export interface GraphQLResolverMap<TContext = {}> {
|
|
[typeName: string]: {
|
|
[fieldName: string]: GraphQLFieldResolver<any, TContext> | {
|
|
requires?: string;
|
|
resolve: GraphQLFieldResolver<any, TContext>;
|
|
};
|
|
} | GraphQLScalarType | {
|
|
[enumValue: string]: string | number;
|
|
};
|
|
}
|
|
//# sourceMappingURL=resolverMap.d.ts.map
|