question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getting "Types of property 'lift' are incompatible." with typescript 2.4.0

See original GitHub issue

RxJS 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

see https://github.com/angular/angular/issues/17800 also

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

10reactions
kwonojcommented, Jul 2, 2017

I’d rather suggest people search issue first before filing redundant issue that I have to just close.

10reactions
kwonojcommented, Jul 2, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found