UNPKG

@graphql-tools/executor

Version:

Fork of GraphQL.js' execute function

4 lines (3 loc) 340 B
import type { MaybeAsyncIterable, ExecutionResult, MaybePromise } from '@graphql-tools/utils'; import { ExecutionArgs } from './execute.js'; export declare function normalizedExecutor<TData = any, TVariables = any, TContext = any>(args: ExecutionArgs<TData, TVariables, TContext>): MaybePromise<MaybeAsyncIterable<ExecutionResult<TData>>>;