Przeglądaj źródła

fix: remove stale duplicate JSDoc on translateAbortOrNetwork

The function carried two consecutive JSDoc blocks; the first was an
outdated short version missing the timeout-recovery contract. Keep only
the accurate detailed block.
Dudu-0223 3 miesięcy temu
rodzic
commit
1cd3a454da
1 zmienionych plików z 0 dodań i 6 usunięć
  1. 0 6
      packages/web/web-fetch-local/src/provider.ts

+ 0 - 6
packages/web/web-fetch-local/src/provider.ts

@@ -245,12 +245,6 @@ function resolveRedirect(location: string, base: URL): URL {
   }
 }
 
-/**
- * Translate a thrown fetch/stream error into a `WebError`. Our own
- * `WEB_FETCH_TIMEOUT` (passed to `controller.abort(reason)`) and any other
- * already-typed `WebError` pass through; an `AbortError` becomes `WEB_ABORTED`;
- * anything else is a transport/network failure (`WEB_PROVIDER_ERROR`).
- */
 /**
  * Translate a thrown fetch/stream error into a `WebError`. Our own
  * `WEB_FETCH_TIMEOUT` (passed to `controller.abort(reason)`) and any other