UNPKG

846 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var _enable_super_gross_mode_that_will_cause_bad_things = false;
4exports.config = {
5 Promise: undefined,
6 set useDeprecatedSynchronousErrorHandling(value) {
7 if (value) {
8 var error = new Error();
9 console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack);
10 }
11 else if (_enable_super_gross_mode_that_will_cause_bad_things) {
12 console.log('RxJS: Back to a better error behavior. Thank you. <3');
13 }
14 _enable_super_gross_mode_that_will_cause_bad_things = value;
15 },
16 get useDeprecatedSynchronousErrorHandling() {
17 return _enable_super_gross_mode_that_will_cause_bad_things;
18 },
19};
20//# sourceMappingURL=config.js.map
\No newline at end of file