Uh oh!
There was an error while loading. Please reload this page.
Allow references to const enums when provably emitted via preserveConstEnums - #57996
Allow references to const enums when provably emitted via preserveConstEnums#57996Jake Bailey (jakebailey) wants to merge 6 commits into
Conversation
Jake Bailey (jakebailey)
commented
Mar 29, 2024
Also, maybe this fixes #37774? |
Jake Bailey (jakebailey)
commented
Mar 29, 2024
TypeScript Bot (@typescript-bot) test it |
Uh oh!
There was an error while loading. Please reload this page.
Hey Jake Bailey (@jakebailey), 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 (typescript-bot)
commented
Mar 29, 2024
Hey Jake Bailey (@jakebailey), the results of running the DT tests are ready. Everything looks the same! |
TypeScript Bot (typescript-bot)
commented
Mar 29, 2024
Jake Bailey (@jakebailey) Here are the results of running the user tests comparing Everything looks good! |
TypeScript Bot (typescript-bot)
commented
Mar 29, 2024
Jake Bailey (@jakebailey) Here they are:tscComparison Report - baseline..pr
System info unknown Hosts
Scenarios
Developer Information: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TypeScript Bot (typescript-bot)
commented
Mar 29, 2024
Jake Bailey (@jakebailey) Here are the results of running the top 400 repos comparing Everything looks good! |
bf0ee11 to
c83323bComparec83323b to
36042d8Compare
This builds on #57914, allowing references to const enums in value space when we can "prove" that they will actually be emitted due to preserveConstEnums.
Fixes#51530