Skip to content

Commit

Permalink
Property does not exist according to TS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Oct 19, 2020
1 parent 558a2c3 commit d9857b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-async/src/globalScope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ declare type GlobalScope = {
const globalScope = (() => {
if (typeof self === "object" && self.self === self) return self
if (typeof global === "object" && global.global === global) return global
if (typeof global === "object" && global.GLOBAL === global) return global
if (typeof global === "object" && global["GLOBAL"] === global) return global
return {} // fallback that relies on imported modules to be singletons
})() as GlobalScope

Expand Down

0 comments on commit d9857b9

Please sign in to comment.