Skip to content

Commit 426a6cb

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 2cd2fc6 commit 426a6cb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
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)