-
Notifications
You must be signed in to change notification settings - Fork 3k
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
lift signature issue returns on new typescript version #2726
Comments
yeah, I'm having the same issue - rolling back to [email protected] for now. |
If you're experiencing this still, please provide minial repo have single rxjs dependency can repro this issues. |
super-minimal test case here: https://github.com/ericeslinger/lift-example
All I really do is implement lift thusly:
which isn't precisely what I'm doing in my actual work, but seems like a pretty minimal reproduction. this is confirmed to work when I install [email protected] and fail under 2.4.1 (to test in the repo, |
@ericeslinger your example isn't cases of lib's incorrect type signature, it's expected TS behavior. Note TS 2.4.1 enables strict generic check, reason why your code works on prior version of compiler. Signature of base Correcting it by explicit casting like
resolves issue. (Note: above snippet is only for illustration) I'll leave this issue opened bit more to see if there's any remaining issue around library itself - meanwhile, anyone experience similar issues please check 2 things
|
See #2722 (comment) |
@GulinSS Pleasd check above comment (#2726 (comment)) , and share reproducible repo for code ensure if there is no dupe pkg, or user code has incompatible types. |
@kwonoj, did deeper investigation, the issue was in ionic-native dep which referenced to older rxjs version |
as I do not see further report related with library code itself, I'm closing this issue for now. Anyone experiences similar issue and confirmed if it's not coming from old pkg version or user code, feel freely create new issue with reproducible repo. |
On version 5.4.2 there's a bug fix:
I'm using typescript version 2.4.1 and I'm getting this bug again...
What can I do?
The text was updated successfully, but these errors were encountered: