From 561fc7a787228b226e0ba76ab674456cbd30cd37 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 3 Aug 2022 14:23:36 -0500 Subject: [PATCH] fix(deno): use 'globalThis' instead of 'window' (#2186) (#2215) --- lib/platform-shims/deno.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/platform-shims/deno.ts b/lib/platform-shims/deno.ts index 6bea0422b..87fcb5294 100644 --- a/lib/platform-shims/deno.ts +++ b/lib/platform-shims/deno.ts @@ -91,7 +91,7 @@ export default { } }, exit: Deno.exit, - nextTick: window.queueMicrotask, + nextTick: globalThis.queueMicrotask, stdColumns: columns ?? null, }, readFileSync: Deno.readTextFileSync,