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

5 lines
No EOL
258 B
JavaScript

import { switchMap } from './switchMap';
export function switchMapTo(innerObservable, resultSelector) {
return resultSelector ? switchMap(() => innerObservable, resultSelector) : switchMap(() => innerObservable);
}
//# sourceMappingURL=switchMapTo.js.map