mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Add options to buildClientSchema in graphql
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user