UNPKG

@graphql-tools/utils

Version:

Common package containing utils and types for GraphQL tools

3 lines (2 loc) 215 B
import { GraphQLDirective, GraphQLNamedType, GraphQLSchema } from 'graphql'; export declare function addTypes(schema: GraphQLSchema, newTypesOrDirectives: Array<GraphQLNamedType | GraphQLDirective>): GraphQLSchema;