build: typescript 3.7 support (#33717)

This PR updates TypeScript version to 3.7 while retaining compatibility with TS3.6.

PR Close #33717
This commit is contained in:
Andrius
2019-11-09 20:36:22 +02:00
committed by atscott
parent d7ea389c84
commit 1f79e624d1
25 changed files with 342 additions and 192 deletions

View File

@ -25,7 +25,7 @@
"peerDependencies": {
"@angular/compiler": "0.0.0-PLACEHOLDER",
"tslib": "^1.10.0",
"typescript": ">=3.6 <3.7"
"typescript": ">=3.6 <3.8"
},
"engines": {
"node": ">=8.0"

View File

@ -19,7 +19,7 @@ const MIN_TS_VERSION = '3.6.4';
* ∀ supported typescript version v, v < MAX_TS_VERSION
* MAX_TS_VERSION is not considered as a supported TypeScript version
*/
const MAX_TS_VERSION = '3.7.0';
const MAX_TS_VERSION = '3.8.0';
/**
* The currently used version of TypeScript, which can be adjusted for testing purposes using