Fix bug: normalize path after combining#21100
Conversation
|
Is this fix in the released version? Face the issue: build is OK but vscode says error. |
|
@web-dave It's possible that vscode is using a different TypeScript version than your build. Could you check that both are using |
|
@Andy-MS I'm running 2.7.1 in my workspace and with vscode. But I don't get code completion running as expected (it would work with |
|
@baflo I was able to get completions in tsconfig.json: {
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"@app/*": ["./app/*"]
}
}
}src/a.ts: src/app/b.ts: Does this work for you? If so, could you try and get a simplified version of your situation that doesn't have the completions? |
|
Hey @Andy-MS , I played a bit with your config. And I kind of get positive results. But not continuously. Say I have your structure, but additionally a folder src/c with files src/c/c.ts and src/c/index.ts, then I can resolve b.ts but not files in src/c (only when I manually add the With the |
|
@baflo Thanks, looks like that was a bug that didn't show up in tests due to our test host differing from the real one. |







Fixes #19113 (the one remaining bug as far as I can tell)
(Continuation of #21072)