From b922743f6e023a4fd76bf9b8e571e727073a1793 Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Wed, 18 Oct 2017 10:45:54 -0700 Subject: [PATCH] build: narrow TS version to >=2.4.2 and <2.5 (#19787) As this is the only version range that we tested against in G3. We will support newer versions of TypeScript soon after the Angular 5 release. Closes #19750 PR Close #19787 --- packages/bazel/package.json | 2 +- packages/compiler-cli/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bazel/package.json b/packages/bazel/package.json index 0e3948f22e..297bdf3a2e 100644 --- a/packages/bazel/package.json +++ b/packages/bazel/package.json @@ -6,7 +6,7 @@ "license": "MIT", "peerDependencies": { "@angular/compiler-cli": "0.0.0-PLACEHOLDER", - "typescript": "^2.4.2" + "typescript": ">=2.4.2 <2.5" }, "dependencies": { "@bazel/typescript": "0.2.x", diff --git a/packages/compiler-cli/package.json b/packages/compiler-cli/package.json index c5ffae08f9..c4eb69f175 100644 --- a/packages/compiler-cli/package.json +++ b/packages/compiler-cli/package.json @@ -15,7 +15,7 @@ "chokidar": "^1.4.2" }, "peerDependencies": { - "typescript": "^2.4.2", + "typescript": ">=2.4.2 <2.5", "@angular/compiler": "0.0.0-PLACEHOLDER" }, "repository": {