-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Allow intersections (and substitutions) to be checked against discriminable unions #36663
Allow intersections (and substitutions) to be checked against discriminable unions #36663
Conversation
@typescript-bot perf test this I don't even know why, it's not like there are unions in the perf suite |
Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 6aaf984. You can monitor the build here. It should now contribute to this PR's status checks. |
Heya @weswigham, I've started to run the perf test suite on this PR at 6aaf984. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
Heya @weswigham, I've started to run the parallelized community code test suite on this PR at 6aaf984. You can monitor the build here. It should now contribute to this PR's status checks. |
Heya @weswigham, I've started to run the extended test suite on this PR at 6aaf984. You can monitor the build here. It should now contribute to this PR's status checks. |
@weswigham Here they are:Comparison Report - master..36663
System
Hosts
Scenarios
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
Perf impact is zero, @rbuckton you wanna give a quick look over this change? |
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.
Seems good! I wonder how there were ZERO changes in any test suite, though.
@typescript-bot cherrypick this into release-3.8 |
Hey @weswigham, I've opened #36726 for you. |
Component commits: 6aaf984 Allow intersections (and substitutions) to be checks against discriminable unions
Component commits: 6aaf984 Allow intersections (and substitutions) to be checks against discriminable unions Co-authored-by: Wesley Wigham <[email protected]>
Intersections for the reasons reported, substitutions because they're just opaque intersections and should generally work the same way in relationships.
Fixes #33243