You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Request: Broader TypeScript peer dependency range for Angular 22.x (TypeScript 7.x support) #69704
Angular 22.x currently declares a narrow TypeScript peer dependency (>=6.0 <6.1). TypeScript 7.0 has been released, but projects cannot upgrade to it while staying on Angular 22 because @angular/compiler-cli fails at compile time (e.g. readConfiguration / DiagnosticCategory incompatibilities).
This forces teams to stay on TypeScript 6.0.x even when they want to adopt newer TypeScript language and tooling features.
Motivation
TypeScript releases often land before Angular officially widens its peer range.
Narrow peer ranges block legitimate upgrades and create friction for teams that track TypeScript closely.
Clearer / broader support windows (or earlier preview support) would reduce version lock-in and avoid broken ng serve / ng build after a TypeScript bump.
Current behavior
Package
Constraint
Angular
22.0.x
Declared TypeScript peer
>=6.0 <6.1
TypeScript 7.0.x
Not supported; build fails
Expected / requested behavior
Widen or accelerate TypeScript peer dependency support so newer TypeScript majors/minors can be adopted sooner (ideally TypeScript 7.x on Angular 22.x or the next patch/minor).
Document supported TypeScript ranges clearly per Angular version, and call out when a TypeScript release is intentionally unsupported.
Where possible, reduce coupling so minor TypeScript upgrades do not hard-break the Angular compiler CLI.
Environment
Angular: 22.0.6
@angular/compiler-cli: 22.0.6
TypeScript (desired): 7.0.x
TypeScript (working): 6.0.3
Node.js: 22+ / 26
Additional context
This is a feature / compatibility request, not a report that Angular 22 is broken on its supported TypeScript range. The ask is to reduce TypeScript version lock-in so applications can upgrade TypeScript without waiting for a full Angular major, and without runtime/compile failures when doing so.
Supporting TS 7.0, requires a major refactoring of our compiler. Also note that ts 7.0 doesn't ship stabilised API which is also needed for full support of the next generation of TS compilers.
As mentioned on our roadmap this is already already a work in progress.
While TypeScript 7.0 is here, it does not ship with an API. We expect TypeScript 7.1 to ship with a new (and different) API, but until then we have made it a priority to ensure TypeScript can be run side-by-side with TypeScript 6.0 for utilities that still need some programmatic access to the compiler (such as typescript-eslint).
Activity
JeanMeche commentedon Jul 9, 2026
Supporting TS 7.0, requires a major refactoring of our compiler. Also note that ts 7.0 doesn't ship stabilised API which is also needed for full support of the next generation of TS compilers.
As mentioned on our roadmap this is already already a work in progress.
Version support range is documented on https://angular.dev/reference/versions
UTSOURCE commentedon Jul 9, 2026
"Since TS 7.0 now provides stable APIs, we need to add support for its adaptation."
JeanMeche commentedon Jul 9, 2026
https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/#running-side-by-side-with-typescript-6.0
muhamedkarajic commentedon Jul 9, 2026
Moved my points here #69719
I think there was a discussion about this somewhere else but I could not find it.
angular-automatic-lock-bot commentedon Aug 9, 2026
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.