Skip to content

Commit

Permalink
feat(core): drop support for TypeScript 4.0 and 4.1
Browse files Browse the repository at this point in the history
Drops support for TypeScript 4.0 and 4.1 across the repo.
The typings check for 4.1 was kept in order to ensure that we don't break g3.
  • Loading branch information
crisbeto committed Mar 16, 2021
1 parent 30e3d98 commit 7579bcc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions integration/BUILD.bazel
Expand Up @@ -85,12 +85,6 @@ INTEGRATION_TESTS = {
"service-worker-schema": {},
"side-effects": {"tags": ["no-ivy-aot"]},
"terser": {},
"typings_test_ts40": {
# Special case for `typings_test_ts40` test as we want to pin
# `typescript` at version 4.0.x for that test and not link to the
# root @npm//typescript package.
"pinned_npm_packages": ["typescript"],
},
"typings_test_ts41": {
# Special case for `typings_test_ts41` test as we want to pin
# `typescript` at version 4.1.x for that test and not link to the
Expand Down
2 changes: 1 addition & 1 deletion packages/bazel/package.json
Expand Up @@ -28,7 +28,7 @@
"@angular/compiler-cli": "0.0.0-PLACEHOLDER",
"@bazel/typescript": ">=1.0.0",
"terser": "^4.3.1",
"typescript": ">=4.0 <4.3",
"typescript": ">=4.2.3 <4.3",
"rollup": ">=1.20.0",
"rollup-plugin-commonjs": ">=9.0.0",
"rollup-plugin-node-resolve": ">=4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler-cli/package.json
Expand Up @@ -29,7 +29,7 @@
},
"peerDependencies": {
"@angular/compiler": "0.0.0-PLACEHOLDER",
"typescript": ">=4.0 <4.3"
"typescript": ">=4.2.3 <4.3"
},
"engines": {
"node": ">=10.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler-cli/src/typescript_support.ts
Expand Up @@ -15,7 +15,7 @@ import {compareVersions} from './diagnostics/typescript_version';
* Note: this check is disabled in g3, search for
* `angularCompilerOptions.disableTypeScriptVersionCheck` config param value in g3.
*/
const MIN_TS_VERSION = '4.0.0';
const MIN_TS_VERSION = '4.2.3';

/**
* Supremum of supported TypeScript versions
Expand Down

0 comments on commit 7579bcc

Please sign in to comment.