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:
committed by
Facebook GitHub Bot
parent
df6a8cd031
commit
8b2d8498e6
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user