From bd56cab1dbb9cc79c550a3319b44c1da61212897 Mon Sep 17 00:00:00 2001 From: Eros Zhao Date: Mon, 21 Oct 2024 15:44:18 +0000 Subject: [PATCH] fix: correct the order of Headers imports --- src/js/polyfills/fetch/polyfill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/polyfills/fetch/polyfill.js b/src/js/polyfills/fetch/polyfill.js index 999257de..49595dd7 100644 --- a/src/js/polyfills/fetch/polyfill.js +++ b/src/js/polyfills/fetch/polyfill.js @@ -5,6 +5,6 @@ import { Headers } from './headers.js'; globalThis.fetch = fetch; +globalThis.Headers = Headers; globalThis.Request = Request; globalThis.Response = Response; -globalThis.Headers = Headers;