We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c088f0 commit 9a9c679Copy full SHA for 9a9c679
addon/addon/waiter-manager.ts
@@ -33,8 +33,6 @@ function getGlobal(): Indexable {
33
if (typeof globalThis !== 'undefined') return indexable(globalThis);
34
if (typeof self !== 'undefined') return indexable(self);
35
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);
38
39
throw new Error('unable to locate global object');
40
}
0 commit comments