Skip to content

Add ES2025 target and library #61735

Open
@ajafff

Description

@ajafff

⚙ Compilation target

ES2025

⚙ Library

ES2025

Missing / Incorrect Definition

target, lib and module option ES2025 is missing (and I don't want to use ESNext)

Syntactic changes: import attributes (currently in module: ESNext)
Library features:

  • Set instance methods (currently in ESNext)
  • Promise.try (currently in ESNext)
  • Iterator helpers (currently in ESNext)
  • Float16Array and DataView methods for float16 (currently in ESNext)
  • RegExp.escape (Add types for RegExp.escape #61321)

Sample Code

new Set().difference(new Set())

Documentation Link

https://tc39.es/ecma262/multipage/#:~:text=ECMAScript%202025%2C%20the,Math.f16round%20methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions