GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — fix: revamp es2020.intl.d.ts by longlho · Pull Request #42945 · microsoft/TypeScript Conversation
|
|
Was this in TS4.1? If not, maybe we should revert for TS4.2 Ryan Cavanaugh (@RyanCavanaugh) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I believe this was in 4.2 but not 4.1. Our workaround rn is to pin to 4.1 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
3a31bd4 to
b87ac2b
Compare
|
Daniel Rosenwasser (@DanielRosenwasser) I apologize for increasing the scope of this PR but es2020 at its current state has some ES2021 stuff and also is missing some constraints in terms of unit. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
- Remove `fractionalSecondDigits`, `dateStyle`, `timeStyle`, `dayPeriod` since they're in ES2021 draft, not ES2020. - Clarify NumberFormatOptions, add list of sanctioned unit
b87ac2b to
a4f4583
Compare
|
gentle ping Ryan Cavanaugh (@RyanCavanaugh) :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Maybe it was a related change, but I thought we had already made the types of something in intl into precise literal unions and then had to revert to the base primitive. Finding that change is the first step to reviewing this one, to make sure we don't end up waffling back and forth. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Nathan Shively-Sanders (@sandersn) so the context here is different and shouldn't be treated as blanket literal union vs none. The literal unions for those values are fine because the spec indicates that values outside of those choices, as of ES2020, will throw a Step 7 says |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
TypeScript Bot (@typescript-bot) test this |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the extended test suite on this PR at a4f4583. You can monitor the build here. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the parallelized community code test suite on this PR at a4f4583. You can monitor the build here. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the parallelized Definitely Typed test suite on this PR at a4f4583. You can monitor the build here. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Deprecated by #45647 - thanks Long Ho (@longlho) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
es2020.intl.d.ts is inaccurate
There was an error while loading. Please reload this page.