UNPKG

447 BTypeScriptView Raw
1import { DirectiveDefinitionNode, DirectiveNode } from 'graphql';
2import { Config } from './merge-typedefs.js';
3export declare function mergeDirectives(d1?: ReadonlyArray<DirectiveNode>, d2?: ReadonlyArray<DirectiveNode>, config?: Config, directives?: Record<string, DirectiveDefinitionNode>): DirectiveNode[];
4export declare function mergeDirective(node: DirectiveDefinitionNode, existingNode?: DirectiveDefinitionNode): DirectiveDefinitionNode;