mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Merge pull request #24462 from mzikherman/add_options_to_client_schema
[graphql] Add valid options to buildClientSchema method
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