Skip to content

Commit

Permalink
fix(mergeAll): introduce variant support <T, R> for mergeMap
Browse files Browse the repository at this point in the history
- closes #2372
  • Loading branch information
kwonoj committed Feb 14, 2017
1 parent 25ee5b3 commit 656f2b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/operator/mergeAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ import { Operator } from '../Operator';
import { Observer } from '../Observer';
import { Subscription } from '../Subscription';
import { OuterSubscriber } from '../OuterSubscriber';
import { Subscribable } from '../Observable';
import { subscribeToResult } from '../util/subscribeToResult';

export function mergeAll<T>(this: Observable<T>, concurrent?: number): T;
export function mergeAll<T, R>(this: Observable<T>, concurrent?: number): Subscribable<R>;

/**
* Converts a higher-order Observable into a first-order Observable which
* concurrently delivers all values that are emitted on the inner Observables.
Expand Down

0 comments on commit 656f2b3

Please sign in to comment.