Skip to content

Commit 28703b8

Browse files
author
vhess
committed
fix: resolve type errors (with shameful any type)
1 parent c15085e commit 28703b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/test/http/customFetch.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe("Basic example of proxying over HTTP2 to a target HTTP2 with custom Fet
4848
.createServer({
4949
target: `https://localhost:${ports.http2}`,
5050
ssl,
51-
fetch: customFetch,
51+
fetch: customFetch as any,
5252
})
5353
.listen(ports.proxy);
5454
});

lib/test/http/proxy-callbacks.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe("Fetch callback functions (onBeforeRequest and onAfterResponse)", () =>
4949
requestOptions: {
5050
dispatcher: new Agent({
5151
allowH2: true
52-
}) },
52+
}) as any },
5353
onBeforeRequest: async (requestOptions, _req, _res, _options) => {
5454
onBeforeRequestCalled = true;
5555
// Modify the outgoing request

0 commit comments

Comments
 (0)