source: trip-planner-front/node_modules/rxjs/internal/operators/mergeMapTo.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 664 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var mergeMap_1 = require("./mergeMap");
4function mergeMapTo(innerObservable, resultSelector, concurrent) {
5 if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }
6 if (typeof resultSelector === 'function') {
7 return mergeMap_1.mergeMap(function () { return innerObservable; }, resultSelector, concurrent);
8 }
9 if (typeof resultSelector === 'number') {
10 concurrent = resultSelector;
11 }
12 return mergeMap_1.mergeMap(function () { return innerObservable; }, concurrent);
13}
14exports.mergeMapTo = mergeMapTo;
15//# sourceMappingURL=mergeMapTo.js.map
Note: See TracBrowser for help on using the repository browser.