switchMap.d.ts 441 B

1234
  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>;