Upgrade to TypeScript 3.9

Summary:
Upgrading to TypeScript 3.9 so that we can use `// ts-expect-error`, that allows us to basically write unit tests for typings.

Fixed the typescript path in `settings.json`, because otherwise VSCode kept picking the built-in version (3.8.3 atm) of ts when opening the `sonar` folder as workspace.

Reviewed By: passy

Differential Revision: D22255818

fbshipit-source-id: ae54aedb237445f32f1797b4290656dbfb0e528f
This commit is contained in:
Michel Weststrate
2020-07-01 08:58:40 -07:00
committed by Facebook GitHub Bot
parent df6a8cd031
commit 8b2d8498e6
9 changed files with 13 additions and 12 deletions

View File

@@ -21,7 +21,7 @@
"prettier": "^2.0.0",
"ts-jest": "^26.0.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.7.2"
"typescript": "^3.9.5"
},
"scripts": {
"reset": "rimraf lib *.tsbuildinfo",