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