UNPKG

graphql-composer

Version:
3 lines (2 loc) 249 B
import { KeyValue, Next, Context } from ".."; export declare type ResolveFunction<ReturnType = any, ArgsType = KeyValue, SourceType = any> = (args: ArgsType, context: Context<ReturnType, SourceType>, next: Next) => Promise<ReturnType> | ReturnType;