diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/switchMapTo.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/switchMapTo.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/switchMapTo.js b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/switchMapTo.js new file mode 100644 index 00000000..2874b69f --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/switchMapTo.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var switchMap_1 = require("./switchMap"); +function switchMapTo(innerObservable, resultSelector) { + return resultSelector ? switchMap_1.switchMap(function () { return innerObservable; }, resultSelector) : switchMap_1.switchMap(function () { return innerObservable; }); +} +exports.switchMapTo = switchMapTo; +//# sourceMappingURL=switchMapTo.js.map
\ No newline at end of file |