wishthis/node_modules/rxjs/_esm2015/internal/util/root.js
2022-01-21 09:28:41 +01:00

12 lines
No EOL
492 B
JavaScript

const __window = typeof window !== 'undefined' && window;
const __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&
self instanceof WorkerGlobalScope && self;
const __global = typeof global !== 'undefined' && global;
const _root = __window || __global || __self;
(function () {
if (!_root) {
throw new Error('RxJS could not find any global context (window, self, global)');
}
})();
export { _root as root };
//# sourceMappingURL=root.js.map