diff --git a/src/polyfills/fetch.ts b/src/polyfills/fetch.ts index e2bde78..85040af 100644 --- a/src/polyfills/fetch.ts +++ b/src/polyfills/fetch.ts @@ -1,9 +1,9 @@ -import fetch, { Headers, Request, Response, FormData, Blob } from 'node-fetch' +import fetch, { Headers, Request, Response, FormData, Blob, File } from 'node-fetch' if (!('fetch' in globalThis)) { Object.assign(globalThis, { fetch, Headers, Request, Response, FormData }) } if (!('Blob' in globalThis)) { - Object.assign(globalThis, { Blob }) + Object.assign(globalThis, { Blob, File }) }