Skip to content

Commit f875a38

Browse files
BoDjerelmiller
andauthored
Update src/utilities/extendSchema.ts
Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
1 parent 9ab6545 commit f875a38

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/utilities/extendSchema.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ export function extendSchemaImpl(
215215
};
216216

217217
// Then produce and return a Schema config with these types.
218-
const directives: Array<GraphQLDirective> = Object.values(directiveMap);
218+
const directives = Object.values(directiveMap);
219+
// will be `Array<GraphQLDirective>`
219220
return {
220221
description: schemaDef?.description?.value,
221222
...operationTypes,

0 commit comments

Comments
 (0)