feat(core): drop support for TypeScript 5.9

Drops support for TypeScript 5.9.

BREAKING CHANGE:
* TypeScript versions older than 6.0 are no longer supported.
This commit is contained in:
Kristiyan Kostadinov
2026-04-03 09:13:26 +02:00
committed by Andrew Scott
parent 9d76ac8229
commit 8fe025f514
8 changed files with 2 additions and 231 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
},
"peerDependencies": {
"@angular/compiler": "0.0.0-PLACEHOLDER",
"typescript": ">=5.9 <6.1"
"typescript": ">=6.0 <6.1"
},
"peerDependenciesMeta": {
"typescript": {
@@ -16,7 +16,7 @@ import {compareVersions} from './version_helpers';
* Note: this check is disabled in g3, search for
* `angularCompilerOptions.disableTypeScriptVersionCheck` config param value in g3.
*/
const MIN_TS_VERSION = '5.9.0';
const MIN_TS_VERSION = '6.0.0';
/**
* Supremum of supported TypeScript versions