switchMap.d.ts 441B

12345
  1. import { ObservableInput } from '../Observable';
  2. import { OperatorFunction } from '../interfaces';
  3. export declare function switchMap<T, R>(project: (value: T, index: number) => ObservableInput<R>): OperatorFunction<T, R>;
  4. 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>;