-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Compilation fails with TypeScript 2.4 #1487
Comments
@evmar you should try 6.0.0-alpha.0, it targets TS 2.3. (in the |
isn't this rxjs 4 repo? |
Sounds like it's related to https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#typescript-24 without digging into it much. This appears to be revealing a few issues like not giving the full type |
Also related to the 2.4 changes is microsoft/TypeScript#16593. |
I'm getting these on
@benlesh - is the recommended solution to not upgrade at this point? |
@evmar @amcdnl @benlesh should this be moved over to ReactiveX/rxjs? I think having this here is going to be confusing for incoming readers. |
Yes. |
Ran into the same issue just now, downgrading typescript for now resolve the compilation error. Glad I came across this issue 👍 |
@evmar or @mattpodwysocki do you mind closing? |
Sorry, I lack context. Is the issue fixed? |
My understanding is that the issue will be fixed in RxJS 6.0. The signature hasn't been corrected in 5.x. |
This issue is not related to this repository. RxJS 5 and later is a different repository. See my link earlier, I'm trying to minimize people coming here and expecting to get help on a repo that is in maintenance mode. |
I'm confused about the whole |
Add noStrictGenericChecks=true to tsconfigs ReactiveX/rxjs#2539 Reactive-Extensions/RxJS#1487
@claudiuconstantin There are now warnings/notices all over the RxJS 4 readme and docs (reactive-extensions) Everyone else: This issue has been solved by RxJS 5.4.2 |
I do not see that it is resolved at all. Observable and Subject are still not assignable. |
@mattpodwysocki can you please close this, as we're in the wrong repo lol @raysuelzer ... you've got a classic typed-language problem there... AsyncSubject inherits from Observable, not the other way around. So you can't pass an Observable where AsyncSubject is expected. |
I have an error in switchMap operator:
I tried with:
but I get the same error. My environment is:
|
@yamidvo Please see the above conversation. This repo does not support RxJS 5 and above. |
The text was updated successfully, but these errors were encountered: