-
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
Add Intl.locale types #39664
Add Intl.locale types #39664
Conversation
Thanks a lot for the changes @Dangoo. 1 last thing I'd say is to rename |
Hi, what is the current state for this PR and when will it be merged? Can we do something? @orta |
Hey, are there any blockers stopping you on bringing this in, or is there something we can do to support review/merging? @orta @RyanCavanaugh |
Hey, we would like to use this PR in our project until it is merged. Can you confirm that the substance of this PR is available under TypeScript's Apache 2 license? |
What is the status of this PR? This request for support for Intl spec doesn't seem like it would be controversial, yet the delay in resolving the lack of support is inexplicable. This PR was approved October 2020. |
* Import of Intl.Locale from #39664 * Handle updating es2020.intl and add es2021 for new DateTimeFormatOptions options - re: #39664 * Extends DateTimeFormatOptions for new Intl APIs - re: #45420 * Handle migrating Intl.NumberFormat.formatToParts to es2018 (keeping esnext.intl around) * Adds Intl.DisplayNames to es2020 - re: #44022 * Remove attributes added in es2021 from es2020 - re: #42944 * Add a reference to es2021 in the command line parser * Adds some docs about the lib files * Baselines * Allow undefined in Intl inputs to allow for ergonomic usage of exactOptionalPropertyTypes - see #45652 * Adds some tests covering the APIs * Apply suggestions from code review Co-authored-by: Nathan Shively-Sanders <[email protected]> * Handle PR feedback * More review improvements Co-authored-by: Nathan Shively-Sanders <[email protected]>
The TypeScript team hasn't accepted the linked issue #37326. If you can get it accepted, this PR will have a better chance of being reviewed. |
Fixes #37326
I'm aware there's currently no entry in the Backlog for it, but a PR makes discussion easier.
Thanks for @boenrobot for bringing the issue up and @longlho for giving feedback on this!