From 656f2b3b5bf9b29ecefe8d4b4c9757cffeb9ff3f Mon Sep 17 00:00:00 2001 From: OJ Kwon Date: Tue, 14 Feb 2017 11:16:37 -0800 Subject: [PATCH] fix(mergeAll): introduce variant support for mergeMap - closes #2372 --- src/operator/mergeAll.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/operator/mergeAll.ts b/src/operator/mergeAll.ts index 6d42ef10ae..73fed64cfd 100644 --- a/src/operator/mergeAll.ts +++ b/src/operator/mergeAll.ts @@ -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(this: Observable, concurrent?: number): T; +export function mergeAll(this: Observable, concurrent?: number): Subscribable; + /** * Converts a higher-order Observable into a first-order Observable which * concurrently delivers all values that are emitted on the inner Observables.