Skip to content

Commit 9ab6545

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utilities/extendSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function extendSchemaImpl(
139139
// Collect the type definitions and extensions found in the document.
140140
const typeDefs: Array<TypeDefinitionNode> = [];
141141
const typeExtensionsMap = Object.create(null);
142-
const directiveExtensionsMap = Object.create(null);
142+
const directiveExtensionsMap: Record<string, DirectiveExtensionNode[]> = Object.create(null);
143143

144144
// New directives and types are separate because a directives and types can
145145
// have the same name. For example, a type named "skip".

0 commit comments

Comments
 (0)