@graphql-tools/merge
Version:
A set of utils for faster development of GraphQL tools
4 lines (3 loc) • 381 B
text/typescript
import { DirectiveDefinitionNode, EnumValueDefinitionNode } from 'graphql';
import { Config } from './merge-typedefs.cjs';
export declare function mergeEnumValues(first: ReadonlyArray<EnumValueDefinitionNode> | undefined, second: ReadonlyArray<EnumValueDefinitionNode> | undefined, config?: Config, directives?: Record<string, DirectiveDefinitionNode>): EnumValueDefinitionNode[];