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

5 lines
441 B
TypeScript
Raw Normal View History

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