Skip to content

Commit 571f68f

Browse files
committed
Add vscode path to tsconfig
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
1 parent 0fe43d6 commit 571f68f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/salesforcedx-vscode-apex-debugger/tsconfig.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@
1313
"rootDir": ".",
1414
"outDir": "out",
1515
"preserveConstEnums": true,
16-
"strict": true
16+
"strict": true,
17+
"baseUrl": "",
18+
"paths": {
19+
"vscode": [
20+
"node_modules/vscode"
21+
]
22+
}
1723
},
1824
"exclude": [
1925
"node_modules",

0 commit comments

Comments
 (0)