There was an error while loading. Please reload this page.
1 parent 7cc004b commit fd22605Copy full SHA for fd22605
1 file changed
src/_internal/globalThis.ts
@@ -1,10 +1,12 @@
1
+declare let global: typeof globalThis;
2
+
3
// eslint-disable-next-line @typescript-eslint/naming-convention
-const globalThis_ =
4
+const globalThis_: typeof globalThis =
5
(typeof globalThis === 'object' && globalThis) ||
6
(typeof window === 'object' && window) ||
7
(typeof self === 'object' && self) ||
8
(typeof global === 'object' && global) ||
- (function () {
9
+ (function (this: unknown) {
10
return this;
11
})() ||
12
Function('return this')();
0 commit comments