feat(core): drop support for older TypeScript versions (#51792)

Drops support for versions of TypeScript older than 5.2

BREAKING CHANGE:
Versions of TypeScript older than 5.2 are no longer supported.

PR Close #51792
This commit is contained in:
Kristiyan Kostadinov
2023-09-15 09:01:54 +02:00
committed by Pawel Kozlowski
parent 9f3b549cf6
commit e23aaa7d75
18 changed files with 3 additions and 2754 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
},
"peerDependencies": {
"@angular/compiler": "0.0.0-PLACEHOLDER",
"typescript": ">=4.9.3 <5.3"
"typescript": ">=5.2 <5.3"
},
"repository": {
"type": "git",
@@ -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 = '4.9.3';
const MIN_TS_VERSION = '5.2.0';
/**
* Supremum of supported TypeScript versions