We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c31974 commit b07f597Copy full SHA for b07f597
src/Subject.ts
@@ -43,9 +43,9 @@ export class Subject<T> extends Observable<T> implements ISubscription {
43
return new AnonymousSubject<T>(destination, source);
44
};
45
46
- lift<T, R>(operator: Operator<T, R>): Observable<T> {
+ lift<R>(operator: Operator<T, R>): Observable<T> {
47
const subject = new AnonymousSubject(this, this);
48
- subject.operator = operator;
+ subject.operator = <any>operator;
49
return <any>subject;
50
}
51
0 commit comments