Skip to content

Commit 3ddd212

Browse files
authored
Merge pull request #2446 from xkabylgSICKAG/add-aborterror
fix: readd AbortError export
2 parents e0d6869 + 0612360 commit 3ddd212

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export * from './middleware.js';
1919
export * from './patch.js';
2020
export { type ConfigOptions, type User, type Cluster, type Context } from './config_types.js';
2121

22-
// Export FetchError so that instanceof checks in user code will definitely use the same instance
23-
export { FetchError } from 'node-fetch';
22+
// Export AbortError and FetchError so that instanceof checks in user code will definitely use the same instances
23+
export { AbortError, FetchError } from 'node-fetch';

0 commit comments

Comments
 (0)