UNPKG

@graphql-tools/batch-execute

Version:

A set of utils for faster development of GraphQL tools

6 lines (5 loc) 243 B
import { ExecutionResult } from 'graphql'; /** * Split and transform result of the query produced by the `merge` function */ export declare function splitResult({ data, errors }: ExecutionResult, numResults: number): Array<ExecutionResult>;