getting "Types of property 'lift' are incompatible." with typescript 2.4.0
See original GitHub issueRxJS version: 5.1.0
Code to reproduce: linting a code using Subject
Expected behavior: no errors
Actual behavior:
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'.
Additional information: The bug popped up after typescript updated to 2.4.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:11 (4 by maintainers)
Top Results From Across the Web
How do I get around this "Subject incorrectly extends ...
Types of property 'lift' are incompatible. Type '<R>(operator: Operator<T, R>) => Observable<T>' is not assignable to ...
Read more >[Solved] Issues in building the angular2mvc application
Issues in building the angular2mvc application ; Subject<T>' incorrectly extends base ; lift' are incompatible. Type ' ; <R>(operator: Operator<T, ...
Read more >typescript error with Ionic 3 - JavaScript
Class 'Subject<T>' incorrectly extends base class 'Observable<T>'. Types of property 'lift' are incompatible. Type '<T, R>(operator: Operator<T, ...
Read more >Videogular Error | WPLMS WordPress LMS Documentation
Typescript Error Class 'Subject' incorrectly extends base class 'Observable'. Types of property 'lift' are incompatible. Type '(operator: Operator) ...
Read more >[SOLVED] Ionic Pro: build error - Appflow
... we need use rxjs 5.4.0 and typescript 2.4.0, i have same error on local if i modify ... Types of property 'lift'...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’d rather suggest people search issue first before filing redundant issue that I have to just close.
There is open issue to track this one and it is on discussion. I’m closing all dupues on behalf of opened one - it doesn’t have meaning to open issue without searching dupes.