From 96e18376f4d702de206fa9907e14a63b956fc4b1 Mon Sep 17 00:00:00 2001 From: Matthew Zikherman Date: Thu, 22 Mar 2018 10:22:04 -0400 Subject: [PATCH] Add options to buildClientSchema in graphql --- types/graphql/utilities/buildClientSchema.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/graphql/utilities/buildClientSchema.d.ts b/types/graphql/utilities/buildClientSchema.d.ts index bdf898bc2b..26b0b3cdd5 100644 --- a/types/graphql/utilities/buildClientSchema.d.ts +++ b/types/graphql/utilities/buildClientSchema.d.ts @@ -1,5 +1,7 @@ import { IntrospectionQuery } from './introspectionQuery'; -import { GraphQLSchema } from '../type/schema'; +import { GraphQLSchema, GraphQLSchemaValidationOptions } from '../type/schema'; + +interface Options extends GraphQLSchemaValidationOptions {} /** * Build a GraphQLSchema for use by client tools. @@ -12,4 +14,5 @@ import { GraphQLSchema } from '../type/schema'; */ export function buildClientSchema( introspection: IntrospectionQuery, + options?: Options, ): GraphQLSchema;