-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Description
In the definition of the AbortController on MDN it is stated, that it is possible to pass a parameter to AbortController.abort() that is thrown as Error if the AbortController is used in a fetch call.
Current
AbortController.abort() exists, but does not expect a parameter.
Wanted
Like done in the [@types/mongodb] implementation (see here), the optional reason parameter is also needed in the [@types/node] implementation. And i think before that makes sense, it has to be implemented here in node-fetch
Version
Im using node-fetch as a transitive dependency on version 2.6.6.
I Set up a project using next.js using ^12.0.7 and ts-node using ^10.4.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels