Skip to content

Commit 9a9c679

Browse files
committed
Gotta drop support for global
1 parent 7c088f0 commit 9a9c679

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

addon/addon/waiter-manager.ts

-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ function getGlobal(): Indexable {
3333
if (typeof globalThis !== 'undefined') return indexable(globalThis);
3434
if (typeof self !== 'undefined') return indexable(self);
3535
if (typeof window !== 'undefined') return indexable(window);
36-
// @ts-expect-error cannot find name 'global' -- for old compatibility
37-
if (typeof global !== 'undefined') return indexable(global);
3836

3937
throw new Error('unable to locate global object');
4038
}

0 commit comments

Comments
 (0)