mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-12 15:33:22 -05:00
VS Code: specify workspace typescript version
Currently the workspace's version is older than VS Code's default. VS Code complains about things that aren't errors according to the workspace. (In particular, typing of catched exceptions has become stricter.) With this setting, you can select the workspace's Typescript version in the VS Code UI so the two are consistent.
This commit is contained in:
parent
e90d804f1a
commit
b2fa415823
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@ -43,5 +43,10 @@
|
||||
},
|
||||
"rust-analyzer.inlayHints.enable": false,
|
||||
"markdown.extension.list.indentationSize": "inherit",
|
||||
"markdown.extension.toc.unorderedList.marker": "*"
|
||||
"markdown.extension.toc.unorderedList.marker": "*",
|
||||
|
||||
// Specify the path to the workspace version of TypeScript. Note this only
|
||||
// takes effect when workspace version is selected in the UI.
|
||||
// https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-the-workspace-version-of-typescript
|
||||
"typescript.tsdk": "./ui/node_modules/typescript/lib"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user