work.suroh.tk/node_modules/rxjs/operator/switchMapTo.d.ts

4 lines
379 B
TypeScript

import { Observable, ObservableInput } from '../Observable';
export declare function switchMapTo<T, R>(this: Observable<T>, observable: ObservableInput<R>): Observable<R>;
export declare function switchMapTo<T, I, R>(this: Observable<T>, observable: ObservableInput<I>, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R): Observable<R>;