Skip to content

Clarify TypeScript v6 support for v21.2.x #32974

@json-derulo

Description

@json-derulo

Command

build

Description

According to @angular/core's changelog, Angular v21.2.0 added support for TypeScript v6. However, when updating TypeScript to v6 in Angular projects, there are peer dependency warnings originating from @angular/build. It seems like TypeScript v6 is not allowed as per peer dependency version range:

"typescript": ">=5.9 <6.0",

When ignoring the warnings and installing TypeScript v6 nevertheless, all the commands like build, serve and test seem to work just fine.

Describe the solution you'd like

Clarify whether Angular v21.2.x officially supports TypeScript v6. If supported, the peer dependency version range should be updated to eliminate the peer dependency conflict warnings.

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions