Skip to content

Commit 60c96ab

Browse files
committed
fix(concatAll): use higher-order lettable version of concatAll
1 parent e8d8c08 commit 60c96ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/operator/concatAll.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Observable } from '../Observable';
22
import { Subscribable } from '../Observable';
3-
import { MergeAllOperator } from './mergeAll';
3+
import { concatAll as higherOrder } from '../operators/concatAll';
44

55
/* tslint:disable:max-line-length */
66
export function concatAll<T>(this: Observable<T>): T;
@@ -56,5 +56,5 @@ export function concatAll<T, R>(this: Observable<T>): Subscribable<R>;
5656
* @owner Observable
5757
*/
5858
export function concatAll<T>(this: Observable<T>): T {
59-
return <any>this.lift<any>(new MergeAllOperator<T>(1));
59+
return <any>higherOrder()(this);
6060
}

0 commit comments

Comments
 (0)