2019-06-04 14:29:48 +02:00
|
|
|
import { ObservableInput, OperatorFunction, ObservedValueOf } from '../types';
|
|
|
|
export declare function switchMap<T, O extends ObservableInput<any>>(project: (value: T, index: number) => O): OperatorFunction<T, ObservedValueOf<O>>;
|
2018-11-22 16:41:46 +01:00
|
|
|
/** @deprecated resultSelector is no longer supported, use inner map instead */
|
2019-06-04 14:29:48 +02:00
|
|
|
export declare function switchMap<T, O extends ObservableInput<any>>(project: (value: T, index: number) => O, resultSelector: undefined): OperatorFunction<T, ObservedValueOf<O>>;
|
2018-11-22 16:41:46 +01:00
|
|
|
/** @deprecated resultSelector is no longer supported, use inner map instead */
|
2019-06-04 14:29:48 +02:00
|
|
|
export declare function switchMap<T, R, O extends ObservableInput<any>>(project: (value: T, index: number) => O, resultSelector: (outerValue: T, innerValue: ObservedValueOf<O>, outerIndex: number, innerIndex: number) => R): OperatorFunction<T, R>;
|