Skip to content

es2020.intl.d.ts is inaccurate #42944

Closed
Closed

Description

@longlho

lib Update Request

  • fractionalSecondDigits, dateStyle, timeStyle, dayPeriod are in ES2021 draft, not ES2020.
  • NumberFormatOptions should have the list of sanctioned unit to prevent 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/

Activity

  1. changed the title [-]`fractionalSecondDigits` should not be in es2020.intl.d.ts[/-] [+]es2020.intl.d.ts is inaccurate[/+] on Feb 25, 2021
  2. added a commit that references this issue on Sep 8, 2021
  3. orta commented on Sep 8, 2021

    @orta
    Contributor

    In with #45647 👍🏻

  4. locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions