UNPKG

351 BTypeScriptView Raw
1import { GraphQLDirective, GraphQLNamedType } from 'graphql';
2import { TypeMap } from './Interfaces';
3export declare function rewireTypes(originalTypeMap: Record<string, GraphQLNamedType | null>, directives: ReadonlyArray<GraphQLDirective>, options?: {
4 skipPruning: boolean;
5}): {
6 typeMap: TypeMap;
7 directives: Array<GraphQLDirective>;
8};