UNPKG

@graphql-tools/utils

Version:

Common package containing utils and types for GraphQL tools

6 lines (5 loc) 295 B
import { GraphQLDirective, GraphQLNamedType } from 'graphql'; export declare function rewireTypes(originalTypeMap: Record<string, GraphQLNamedType | null>, directives: ReadonlyArray<GraphQLDirective>): { typeMap: Record<string, GraphQLNamedType>; directives: Array<GraphQLDirective>; };