TenantAtlas/apps/platform/.pnpm-store/v10/files/5c/e555683cf831145dcd61d1b668b606e30a245c9c09a4e13568c289c2363293c51f6a898a694a1f645f6b581613649aabb88db81459390146520368821ffcc5
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

6 lines
319 B
Plaintext

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