UNPKG

@graphql-tools/stitch

Version:

A set of utils for faster development of GraphQL tools

4 lines (3 loc) 323 B
import { GraphQLNamedType } from 'graphql'; import { MergeTypeCandidate, TypeMergingOptions } from './types.cjs'; export declare function mergeCandidates<TContext = Record<string, any>>(typeName: string, candidates: Array<MergeTypeCandidate<TContext>>, typeMergingOptions?: TypeMergingOptions<TContext>): GraphQLNamedType;