summaryrefslogtreecommitdiff
path: root/std/node/global.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/global.ts')
-rw-r--r--std/node/global.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/std/node/global.ts b/std/node/global.ts
index c21b0b659..c889e9c8d 100644
--- a/std/node/global.ts
+++ b/std/node/global.ts
@@ -1 +1,2 @@
-window["global"] = window;
+// @ts-ignore
+globalThis["global"] = globalThis;