Skip to content

Commit

Permalink
fix: export named fetch from node-fetch polyfill (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Jan 2, 2023
1 parent 4dcf17d commit 605e649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/npm/node-fetch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://github.com/node-fetch/node-fetch

// Native browser APIs
const fetch = (...args: Parameters<typeof globalThis["fetch"]>) => globalThis.fetch(...args);
export const fetch = (...args: Parameters<typeof globalThis["fetch"]>) => globalThis.fetch(...args);

export const Headers = globalThis.Headers;
export const Request = globalThis.Request;
Expand Down

0 comments on commit 605e649

Please sign in to comment.