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 e0d6869 commit 0612360Copy full SHA for 0612360
src/index.ts
@@ -19,5 +19,5 @@ export * from './middleware.js';
19
export * from './patch.js';
20
export { type ConfigOptions, type User, type Cluster, type Context } from './config_types.js';
21
22
-// Export FetchError so that instanceof checks in user code will definitely use the same instance
23
-export { FetchError } from 'node-fetch';
+// Export AbortError and FetchError so that instanceof checks in user code will definitely use the same instances
+export { AbortError, FetchError } from 'node-fetch';
0 commit comments