UNPKG

@graphql-tools/graphql

Version:
17 lines (16 loc) 687 B
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 {};