We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3336682 commit 91d363fCopy full SHA for 91d363f
node_package/src/context.ts
@@ -6,5 +6,5 @@ export type Context = Window | typeof globalThis;
6
export default function context(this: void): Context | void {
7
return ((typeof window !== 'undefined') && window) ||
8
((typeof global !== 'undefined') && global) ||
9
- this;
+ globalThis;
10
}
0 commit comments