mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Pawel Kozlowski
parent
9f3b549cf6
commit
e23aaa7d75
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user