We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa8294c commit 9ab6545Copy full SHA for 9ab6545
1 file changed
src/utilities/extendSchema.ts
@@ -139,7 +139,7 @@ export function extendSchemaImpl(
139
// Collect the type definitions and extensions found in the document.
140
const typeDefs: Array<TypeDefinitionNode> = [];
141
const typeExtensionsMap = Object.create(null);
142
- const directiveExtensionsMap = Object.create(null);
+ const directiveExtensionsMap: Record<string, DirectiveExtensionNode[]> = Object.create(null);
143
144
// New directives and types are separate because a directives and types can
145
// have the same name. For example, a type named "skip".
0 commit comments