biobulkbende.org/node_modules/rxjs/operator/switchMap.d.ts
2020-09-16 14:23:28 +02:00

4 lines
427 B
TypeScript

import { Observable, ObservableInput } from '../Observable';
export declare function switchMap<T, R>(this: Observable<T>, project: (value: T, index: number) => ObservableInput<R>): Observable<R>;
export declare function switchMap<T, I, R>(this: Observable<T>, project: (value: T, index: number) => ObservableInput<I>, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R): Observable<R>;