Skip to content

Support for Newer ECMAScript Target Beyond ES2022 in Angular v22 #33820

Description

@ipratyushs

Which @angular/* package(s) are relevant/related to the feature request?

No response

Description

Current Behavior

In Angular v22, the default and recommended TypeScript/ECMAScript target remains ES2022. While it is technically possible to use newer ECMAScript features, the ES2022 target leads to downleveling, reduced runtime optimization, and lack of official support for emitting modern JavaScript aligned with current runtimes.

Expected Behavior

Angular should officially support and validate newer ECMAScript targets (e.g., ES2023, ESNext)

Proposed solution

  • Allow Angular CLI to fully support newer target values (e.g., ES2023, ESNext) without requiring workarounds

  • Update documentation to reflect compatibility with modern runtimes

  • Provide guidance on when it is safe to move beyond ES2022

Alternatives considered

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: build & ciRelated the build and CI infrastructure of the projectgemini-triagedLabel noting that an issue has been triaged by gemini

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions