We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b55213 commit 4e4a66aCopy full SHA for 4e4a66a
1 file changed
src/index.ts
@@ -5,7 +5,6 @@ import type {
5
ResponseToolkit,
6
RouteOptions,
7
Server,
8
- Util,
9
} from '@hapi/hapi';
10
import type {
11
ApolloServer,
@@ -118,7 +117,9 @@ function toGraphqlRequest(request: Request): HTTPGraphQLRequest {
118
117
};
119
}
120
121
-function normalizeHeaders(headers: Util.Dictionary<string>): HeaderMap {
+function normalizeHeaders(headers: {
+ [key: string]: string;
122
+}): HeaderMap {
123
const newHeaders = new HeaderMap();
124
for (const [key, value] of Object.entries(headers)) {
125
if (value !== undefined) {
0 commit comments