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

4 lines
427 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import { Observable, ObservableInput } from '../Observable';
export declare function switchMap<T, R>(this: Observable<T>, project: (value: T, index: number) => ObservableInput<R>): Observable<R>;
export declare function switchMap<T, I, R>(this: Observable<T>, project: (value: T, index: number) => ObservableInput<I>, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R): Observable<R>;