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
This commit is contained in:
Tobias Bosch 2017-10-18 10:45:54 -07:00
parent 04ab9f1917
commit b922743f6e
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
"@angular/compiler-cli": "0.0.0-PLACEHOLDER", "@angular/compiler-cli": "0.0.0-PLACEHOLDER",
"typescript": "^2.4.2" "typescript": ">=2.4.2 <2.5"
}, },
"dependencies": { "dependencies": {
"@bazel/typescript": "0.2.x", "@bazel/typescript": "0.2.x",

View File

@ -15,7 +15,7 @@
"chokidar": "^1.4.2" "chokidar": "^1.4.2"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "^2.4.2", "typescript": ">=2.4.2 <2.5",
"@angular/compiler": "0.0.0-PLACEHOLDER" "@angular/compiler": "0.0.0-PLACEHOLDER"
}, },
"repository": { "repository": {