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

@@ -32,5 +32,6 @@
"jest.enableInlineErrorMessages": true,
"jest.runAllTestsFirst": false,
"jest.pathToConfig": "desktop/jest.config.js",
"jest.pathToJest": "desktop/node_modules/.bin/jest"
"jest.pathToJest": "desktop/node_modules/.bin/jest",
"typescript.tsdk": "desktop/node_modules/typescript/lib"
}