We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 558a2c3 commit d9857b9Copy full SHA for d9857b9
packages/react-async/src/globalScope.ts
@@ -13,7 +13,7 @@ declare type GlobalScope = {
13
const globalScope = (() => {
14
if (typeof self === "object" && self.self === self) return self
15
if (typeof global === "object" && global.global === global) return global
16
- if (typeof global === "object" && global.GLOBAL === global) return global
+ if (typeof global === "object" && global["GLOBAL"] === global) return global
17
return {} // fallback that relies on imported modules to be singletons
18
})() as GlobalScope
19
0 commit comments