From e4fa1e69e7ebfb627c7198fd1a9881e9327ec4d4 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 28 Jun 2025 17:26:46 -0700 Subject: initial commit: scaffolding --- node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js (limited to 'node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js') diff --git a/node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js b/node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js new file mode 100644 index 0000000..626fcc1 --- /dev/null +++ b/node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.switchMapTo = void 0; +var switchMap_1 = require("./switchMap"); +var isFunction_1 = require("../util/isFunction"); +function switchMapTo(innerObservable, resultSelector) { + return isFunction_1.isFunction(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 -- cgit v1.2.3