Skip to content

Support Intl.NumberFormat.formatToParts in ES2018 #41299

Closed
@saschanaz

Description

@saschanaz

TypeScript Version: Nightly

Search Terms:

Code

new Intl.NumberFormat().formatToParts

Expected behavior: Should be supported

Actual behavior: It requires ESNext

Playground Link: https://www.typescriptlang.org/play?target=5#code/HYUw7gBAksAuA2A6AcgVwLYCMQCcBiA9jugIawAUAlIgGZGmwAqBACiTrAM5A

See also https://github.com/tc39/proposals/blob/master/ecma402/finished-proposals.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions