Skip to content

Commit 561fc7a

Browse files
authoredAug 3, 2022
fix(deno): use 'globalThis' instead of 'window' (#2186) (#2215)
1 parent 5895cf1 commit 561fc7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/platform-shims/deno.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default {
9191
}
9292
},
9393
exit: Deno.exit,
94-
nextTick: window.queueMicrotask,
94+
nextTick: globalThis.queueMicrotask,
9595
stdColumns: columns ?? null,
9696
},
9797
readFileSync: Deno.readTextFileSync,

0 commit comments

Comments
 (0)
Please sign in to comment.