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 5a618f9 commit b3b60bcCopy full SHA for b3b60bc
src/version.mjs
@@ -198,6 +198,9 @@ async function fetchWithRetries(url, maxRetries = 5) {
198
try {
199
const res = await fetch(
200
url,
201
+ // dispatcher is `ProxyAgent | undefined`, which is assignable to `Dispatcher | undefined` because
202
+ // ProxyAgent extends Dispatcher, but TS2322 is reported.
203
+ // @ts-ignore:
204
{ dispatcher },
205
);
206
if (res.status === 200 || iterationCount > maxRetries) {
0 commit comments