Export `AbortError` (Fixes: #792)

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall 2020-05-06 23:47:43 +12:00
parent 3fd3da8c94
commit 553bb5dc56
No known key found for this signature in database
GPG Key ID: 94AE1ACB662A2A6D
2 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,12 @@ Changelog
# 3.x release
## v3.0.0-beta.6
**Work in progress!**
- Fix: Export the `AbortError` class.
## v3.0.0-beta.5
> NOTE: Since the previous beta version included serious issues, such as [#749](https://github.com/node-fetch/node-fetch/issues/749), they will now be deprecated.

View File

@ -309,3 +309,4 @@ fetch.Headers = Headers;
fetch.Request = Request;
fetch.Response = Response;
fetch.FetchError = FetchError;
fetch.AbortError = AbortError;