UNPKG

type-graphql

Version:

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

11 lines (10 loc) • 259 B
import { GraphQLResolveInfo } from "graphql"; export interface ArgsDictionary { [argName: string]: any; } export interface ResolverData<ContextType = {}> { root: any; args: ArgsDictionary; context: ContextType; info: GraphQLResolveInfo; }