Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/mergesrcfunctionsmergeInterface

Function: mergeInterface()

mergeInterface(node, existingNode, config?, directives?): InterfaceTypeDefinitionNode | InterfaceTypeExtensionNode

Defined in: packages/merge/src/typedefs-mergers/interface.ts:12

Parameters

node

InterfaceTypeDefinitionNode | InterfaceTypeExtensionNode

existingNode

InterfaceTypeDefinitionNode | InterfaceTypeExtensionNode

config?

Config

directives?

Record<string, DirectiveDefinitionNode>

Returns

InterfaceTypeDefinitionNode | InterfaceTypeExtensionNode