Skip to content

es2020.intl.d.ts is inaccurate #42944

Closed
Closed
@longlho

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/

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