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