Skip to content

Commit

Permalink
fix: add AbortController export from node-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 22, 2023
1 parent 964af36 commit 230385c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/npm/node-fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const fetch = (...args: Parameters<(typeof globalThis)["fetch"]>) =>
export const Headers = globalThis.Headers;
export const Request = globalThis.Request;
export const Response = globalThis.Response;
export const AbortController = globalThis.AbortController;

// Error handling
export const FetchError = Error;
Expand Down

0 comments on commit 230385c

Please sign in to comment.