Skip to content

Commit 65fb6ae

Browse files
IvanGoncharovleebyron
authored andcommitted
buildSchema: Make options optional (#1270)
1 parent 323f2d2 commit 65fb6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities/buildASTSchema.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ function getLeadingCommentBlock(node): void | string {
505505
*/
506506
export function buildSchema(
507507
source: string | Source,
508-
options: BuildSchemaOptions & ParseOptions,
508+
options?: BuildSchemaOptions & ParseOptions,
509509
): GraphQLSchema {
510510
return buildASTSchema(parse(source, options), options);
511511
}

0 commit comments

Comments
 (0)