Skip to content

Commit b3b60bc

Browse files
committed
chore: ignore TS2322
1 parent 5a618f9 commit b3b60bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/version.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ async function fetchWithRetries(url, maxRetries = 5) {
198198
try {
199199
const res = await fetch(
200200
url,
201+
// dispatcher is `ProxyAgent | undefined`, which is assignable to `Dispatcher | undefined` because
202+
// ProxyAgent extends Dispatcher, but TS2322 is reported.
203+
// @ts-ignore:
201204
{ dispatcher },
202205
);
203206
if (res.status === 200 || iterationCount > maxRetries) {

0 commit comments

Comments
 (0)