Skip to content

Commit 230385c

Browse files
committed
fix: add AbortController export from node-fetch
1 parent 964af36 commit 230385c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/npm/node-fetch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const fetch = (...args: Parameters<(typeof globalThis)["fetch"]>) =>
77
export const Headers = globalThis.Headers;
88
export const Request = globalThis.Request;
99
export const Response = globalThis.Response;
10+
export const AbortController = globalThis.AbortController;
1011

1112
// Error handling
1213
export const FetchError = Error;

0 commit comments

Comments
 (0)