lunaisadev-website-old/node_modules/rxjs/operators/switchMap.d.ts

5 lines
441 B
TypeScript

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