Skip to content

Commit 20b17a6

Browse files
authored
chore: ensure VSCode uses the workspace TS version (#7011)
1 parent 25fa1e4 commit 20b17a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"eslint.workingDirectories": ["."],
3-
"typescript.tsdk": "node_modules/typescript/lib"
2+
// Use the workspace version of TypeScript instead of VSCode's bundled version
3+
"typescript.tsdk": "node_modules/typescript/lib",
4+
"typescript.enablePromptUseWorkspaceTsdk": true,
45
}

0 commit comments

Comments
 (0)