@graphql-tools/graphql
Version:
Fork of GraphQL.js
7 lines (6 loc) • 337 B
TypeScript
import { DocumentNode } from '../language/ast.js';
import { GraphQLSchema } from '../type/index.js';
export interface GetDocumentNodeFromSchemaOptions {
pathToDirectivesInExtensions?: Array<string>;
}
export declare function getDocumentNodeFromSchema(schema: GraphQLSchema, options?: GetDocumentNodeFromSchemaOptions): DocumentNode;