Skip to content

Commit

Permalink
fix: failed to resolve tsdk path for "JavaScript and TypeScript Nightly"
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Apr 22, 2023
1 parent c47f2dd commit b0c975d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vscode/src/features/tsVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async function getVScodeTsdk() {
if (nightly) {
const libPath = path.join(
nightly.extensionPath as path.OsPath,
'extensions/node_modules/typescript/lib' as path.PosixPath,
'node_modules/typescript/lib' as path.PosixPath,
).replace(/\\/g, '/') as path.PosixPath;
return {
path: libPath,
Expand Down

0 comments on commit b0c975d

Please sign in to comment.