Skip to content

Commit 8f923a6

Browse files
GozalaMichaelDeBoey
authored andcommitted
chore: re-export File
1 parent d50944a commit 8f923a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/fetch/src/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
// On the web we just export native fetch implementation
4-
export { ReadableStream, Blob, FormData } from './package.js';
4+
export { ReadableStream, Blob, FormData, File } from './package.js';
55
export const { Headers, Request, Response } = globalThis;
66
export default globalThis.fetch
77

packages/fetch/src/lib.node.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export { default, fetch, Headers, Request, Response } from "./fetch.js";
22

3-
export { ReadableStream, Blob, FormData } from './package.js';
3+
export { ReadableStream, Blob, FormData, File } from './package.js';
44
// Node 18+ introduces fetch API globally and it doesn't support our use-cases yet.
5-
// For now we always use the polyfill.
5+
// For now we always use the polyfill.

0 commit comments

Comments
 (0)