Skip to content

Commit 2bb2a2f

Browse files
authored
Explicitly define allowed printer options
1 parent 768ba04 commit 2bb2a2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/graphql/utilities/schemaPrinter.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { GraphQLSchema } from '../type/schema';
22
import { GraphQLType } from '../type/definition';
33

44
export interface PrinterOptions {
5-
[key: string]: any;
5+
commentDescriptions?: boolean;
66
}
77

88
export function printSchema(schema: GraphQLSchema, options?: PrinterOptions): string;

0 commit comments

Comments
 (0)