UNPKG

@graphql-tools/merge

Version:

A set of utils for faster development of GraphQL tools

4 lines (3 loc) 340 B
import { UnionTypeDefinitionNode, UnionTypeExtensionNode } from 'graphql'; import { Config } from './merge-typedefs.cjs'; export declare function mergeUnion(first: UnionTypeDefinitionNode | UnionTypeExtensionNode, second: UnionTypeDefinitionNode | UnionTypeExtensionNode, config?: Config): UnionTypeDefinitionNode | UnionTypeExtensionNode;