You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling with typescript 2.4.1, ts detects a type mismatch in Subject, extending the Observable class, that implements lift with a different method signature
RxJS version: 5.4.1
Code to reproduce: no code required
Expected behavior: types do match
Actual behavior: they don't
Additional information:
ERROR in /var/build/node_modules/rxjs/Subject.d.ts (16,22): Class 'Subject<T>' incorrectly extends base class 'Observable<T>'.
Types of property 'lift' are incompatible.
Type '<R>(operator: Operator<T, R>) => Observable<T>' is not assignable to type '<R>(operator: Operator<T, R>) => Observable<R>'.
Type 'Observable<T>' is not assignable to type 'Observable<R>'.
Type 'T' is not assignable to type 'R'.
The text was updated successfully, but these errors were encountered:
When compiling with typescript 2.4.1, ts detects a type mismatch in
Subject
, extending theObservable
class, that implementslift
with a different method signatureRxJS version: 5.4.1
Code to reproduce: no code required
Expected behavior: types do match
Actual behavior: they don't
Additional information:
The text was updated successfully, but these errors were encountered: