From b07f597f5622cc84b59ae10f2311958d8a40a9e1 Mon Sep 17 00:00:00 2001 From: David Driscoll Date: Fri, 14 Oct 2016 07:54:15 -0400 Subject: [PATCH] fix(typings): fixed Subject.lift to have the same shape as Observable.lift --- src/Subject.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Subject.ts b/src/Subject.ts index dcea18e734..b3dacf0d80 100644 --- a/src/Subject.ts +++ b/src/Subject.ts @@ -43,9 +43,9 @@ export class Subject extends Observable implements ISubscription { return new AnonymousSubject(destination, source); }; - lift(operator: Operator): Observable { + lift(operator: Operator): Observable { const subject = new AnonymousSubject(this, this); - subject.operator = operator; + subject.operator = operator; return subject; }