Uh oh!
There was an error while loading. Please reload this page.
Do for unions of many empty-object-spreadables what we did for unions of 2 - #42233
Conversation
TypeScript Bot (@typescript-bot) test this |
Heya Wesley Wigham (@weswigham), I've started to run the extended test suite on this PR at 35277d9. You can monitor the build here. |
Heya Wesley Wigham (@weswigham), I've started to run the parallelized community code test suite on this PR at 35277d9. You can monitor the build here. |
Heya Wesley Wigham (@weswigham), I've started to run the parallelized Definitely Typed test suite on this PR at 35277d9. You can monitor the build here. |
TypeScript Bot (typescript-bot)
commented
Jan 7, 2021
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
Wesley Wigham (weswigham)
commented
Jan 7, 2021
Tests all look good, so I'll merge~ |
… of 2 (microsoft#42233) * Do for unions of many empty-object-spreadables what we did for unions of 2 * Accept baseline
Fixes#41386 by broadening our simplification of a spread of
undefined | Ato be the same asPartial<A>to also recognize things likeundefined | false | Aas the same asPartial<A>. Doing this made it obvious that we also needed to fix#41418, thanks to the introduction of more of those spread-synthetic optional properties. So this also contains the fix for that, making this PR require #41921 get merged for it to be reasonable (I have left one failing test which should pass once #41921 is merged).