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
We are seeing typeerrors after upgrading typescript to 2.4.0 version in our project
RxJS version: 5.4.0
Code to reproduce:
When we upgrade the project to typescript@2.4.0 we getting these errors but we don't see them in version 2.3.0 Expected behavior:
No errors Actual behavior:
[at-loader] ./node_modules/rxjs/Subject.d.ts:16:22
TS2415: 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'.
[at-loader] ./node_modules/rxjs/observable/dom/WebSocketSubject.d.ts:24:22
TS2415: Class 'WebSocketSubject<T>' incorrectly extends base class 'AnonymousSubject<T>'.
Types of property 'lift' are incompatible.
Type '<R>(operator: Operator<T, R>) => WebSocketSubject<R>' is not assignable to type '<R>(operator: Operator<T, R>) => Observable<T>'.
Type 'WebSocketSubject<R>' is not assignable to type 'Observable<T>'.
Types of property 'operator' are incompatible.
Type 'Operator<any, R>' is not assignable to type 'Operator<any, T>'.
Type 'R' is not assignable to type 'T'.
Additional information:
The text was updated successfully, but these errors were encountered:
We are seeing typeerrors after upgrading typescript to 2.4.0 version in our project
RxJS version: 5.4.0
Code to reproduce:
When we upgrade the project to typescript@2.4.0 we getting these errors but we don't see them in version 2.3.0
Expected behavior:
No errors
Actual behavior:
Additional information:
The text was updated successfully, but these errors were encountered: