docs: update TypeScript version support details for Angular v15 and v16 (#54131)

Clarify the range of TypeScript versions supported in Angular v15 and v16 upgrade guides. The previous documentation's phrasing led to potential misunderstandings, as it suggested broader compatibility than actually supported. This change prevents errors by explicitly stating the maximum TypeScript version for each Angular version, ensuring developers have clear guidance during upgrades.

PR Close #54131
This commit is contained in:
Ido Strauss
2024-01-29 15:57:01 +00:00
committed by Jessica Janiuk
parent 96ca49d145
commit 030d77010d
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -76,7 +76,9 @@ In v15, Angular no longer supports node.js versions 14.\[15-19\].x or 16.\[10-12
#### Angular v15 supports TypeScript version 4.8 or later
In v15, Angular no longer supports TypeScript versions older than 4.8. [PR #47690](https://github.com/angular/angular/pull/47690)
In Angular v15, TypeScript versions 4.8.2 up to, but not including 5.0.0, are supported, with no support for versions older than 4.8.2. [PR #47690](https://github.com/angular/angular/pull/47690)
See [Version compatibility](/guide/versions) for full version compatibility details.
<a id="v15-bc-03"></a>
+1 -1
View File
@@ -104,7 +104,7 @@ See [Version compatibility](/guide/versions) for full version compatibility deta
### Angular v16 requires TypeScript version 4.9 or later
Angular v16 no longer supports TypeScript versions older than 4.9. [PR #49155](https://github.com/angular/angular/pull/49155)
In Angular v16, TypeScript versions 4.9.3 up to, but not including 5.2.0, are supported, with no support for versions older than 4.9.3. [PR #49155](https://github.com/angular/angular/pull/49155)
See [Version compatibility](/guide/versions) for full version compatibility details.