Skip to content

Commit 709376e

Browse files
Fix path to TypeScript SDK (#3771)
Apparently the variable is not substituted, but [because](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-newer-typescript-versions): > VS Code will automatically detect workspace versions of TypeScript that are installed under node_modules in the root of your workspace. I was able to run that command to select it, and that resulted in the workspace configuration automatically being updated with this path, which I have confirmed works.
1 parent 8f778f8 commit 709376e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extension-dev.code-workspace

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
"markdownlint.config": {
3535
"MD024": false // no-duplicate-header
3636
},
37-
// Lock the TypeScript SDK path to the version we use
38-
"typescript.tsdk": "${workspaceFolder:Client}/node_modules/typescript/lib",
3937
"powershell.codeFormatting.autoCorrectAliases": true,
4038
"powershell.codeFormatting.newLineAfterCloseBrace": false,
4139
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
4240
"powershell.codeFormatting.useCorrectCasing": true,
4341
"powershell.codeFormatting.whitespaceBeforeOpenBrace": false,
4442
"powershell.codeFormatting.whitespaceBetweenParameters": true,
45-
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline"
43+
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
44+
// Lock the TypeScript SDK path to the version we use
45+
"typescript.tsdk": "Client/node_modules/typescript/lib"
4646
},
4747
"tasks": {
4848
"version": "2.0.0",

0 commit comments

Comments
 (0)