-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Consider inferences between mapped type templates lower priority #44126
Consider inferences between mapped type templates lower priority #44126
Conversation
@typescript-bot user test this |
Heya @weswigham, I've started to run the extended test suite on this PR at 99110e9. You can monitor the build here. |
Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 99110e9. You can monitor the build here. |
Heya @weswigham, I've started to run the parallelized community code test suite on this PR at 99110e9. You can monitor the build here. |
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lower priority makes sense to me, but it seems like a risky change to make in the RC because it will likely result in another complex followup bug. I vote to hold this for 4.4 unless you know that the problem is widespread.
@typescript-bot pack this |
Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at 99110e9. You can monitor the build here. |
Hey @DanielRosenwasser, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build and an npm module you can use via |
@typescript-bot cherry-pick this to release-4.3 |
Heya @DanielRosenwasser, I've started to run the task to cherry-pick this into |
Hey @DanielRosenwasser, I've opened #44189 for you. |
Component commits: 99110e9 Consider inferences between mapped type templates lower priority
@weswigham @DanielRosenwasser Is this ready to go into master and 4.3 respectively? |
I mean, we should probably ship it in the nightly for a bit, right? |
Component commits: 99110e9 Consider inferences between mapped type templates lower priority Co-authored-by: Wesley Wigham <[email protected]>
Similarly to how inferences between mapped type constraints are lower priority. In general, inferences through a mapped type are usually just worse than other inferences, if available, due to the (potentially lossy) mapping operation the mapped type is doing.
Fixes #44092