@graphql-tools/graphql
Version:
Fork of GraphQL.js
17 lines (16 loc) • 687 B
text/typescript
import { GraphQLSchema } from '../type/index.cjs';
interface PrintSchemaWithDirectivesOptions {
/**
* Descriptions are defined as preceding string literals, however an older
* experimental version of the SDL supported preceding comments as
* descriptions. Set to true to enable this deprecated behavior.
* This option is provided to ease adoption and will be removed in v16.
*
* Default: false
*/
commentDescriptions?: boolean;
assumeValid?: boolean;
pathToDirectivesInExtensions?: Array<string>;
}
export declare function printSchemaWithDirectives(schema: GraphQLSchema, options?: PrintSchemaWithDirectivesOptions): string;
export {};