Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
foxel opened this issue Jun 28, 2017 · 11 comments
Closed

Comments

@foxel
Copy link

foxel commented Jun 28, 2017

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 angular/angular#17800 also

@kwonoj
Copy link
Member

kwonoj commented Jun 28, 2017

dupe of #2699 , #2539, #2700 . #2701

@bobheath33435
Copy link

If kwonoj would list the problem that lists the solution, that would be helpful. Kwonoj's practice of listing umpteen different dupes only confuses the problem.

@kwonoj
Copy link
Member

kwonoj commented 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.

@bobheath33435
Copy link

I understand that you only should track the problem on one ticket. How about specifying on which ticket the problem is being tracked instead having the user go through all four tickets to find the issue tracking the problem?

@kwonoj
Copy link
Member

kwonoj commented Jul 2, 2017

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

@bobheath33435
Copy link

OK I will do it for you. This issue is being tracked here: #2539

@jamie-pate
Copy link

jamie-pate commented Jul 15, 2017

uhm, sois the canonical issue #2539 for this? Hard to tell when you mention 4 differen dupes

@kwonoj
Copy link
Member

kwonoj commented Jul 15, 2017

All of them are same dupe issue and latest update resolved it.

@arnjmllr
Copy link

arnjmllr commented Jan 20, 2018

@kwonoj what was the update to that fixed the issue rsjx, typescript or angular? I am getting this error now, any help would be greatly appreciated. thanks!
@kwonoj nevermind I reinstalled rsjx version and error went away. :)

@Morpheous7
Copy link

Same here. I'm searching for the fix on this issue and can't find it anywhere...

@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants