-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
es2020.intl.d.ts is inaccurate #42944
Labels
Comments
fractionalSecondDigits
should not be in es2020.intl.d.ts
orta
added a commit
to orta/TypeScript
that referenced
this issue
Aug 30, 2021
Merged
orta
pushed a commit
that referenced
this issue
Sep 8, 2021
* 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 <293473+sandersn@users.noreply.github.com> * Handle PR feedback * More review improvements Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
In with #45647 👍🏻 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lib Update Request
fractionalSecondDigits
,dateStyle
,timeStyle
,dayPeriod
are in ES2021 draft, not ES2020.RangeError
.Reference upstream issue: formatjs/formatjs#2616
Configuration Check
Missing / Incorrect Definition
lib/es202.intl.d.ts
Sample Code
Documentation Link
https://402.ecma-international.org/7.0/
The text was updated successfully, but these errors were encountered: