UNPKG

type-graphql

Version:

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

9 lines (8 loc) 271 B
import { type GraphQLResolveInfo } from "graphql"; export type ArgsDictionary = Record<string, any>; export interface ResolverData<TContextType extends object = object> { root: any; args: ArgsDictionary; context: TContextType; info: GraphQLResolveInfo; }