7 lines
714 B
TypeScript
7 lines
714 B
TypeScript
import { ObservableInput, OperatorFunction } from '../types';
|
|
export declare function switchMap<T, R>(project: (value: T, index: number) => ObservableInput<R>): OperatorFunction<T, R>;
|
|
/** @deprecated resultSelector is no longer supported, use inner map instead */
|
|
export declare function switchMap<T, R>(project: (value: T, index: number) => ObservableInput<R>, resultSelector: undefined): OperatorFunction<T, R>;
|
|
/** @deprecated resultSelector is no longer supported, use inner map instead */
|
|
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>;
|