Add options to buildClientSchema in graphql

This commit is contained in:
Matthew Zikherman
2018-03-22 11:01:36 -04:00
parent 55a1b5699f
commit 96e18376f4
+4 -1
View File
@@ -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;