Go to definition doesn't work for ES6 imports when omitting index
from the path.
#24715
Labels
javascript
JavaScript support issues
*question
Issue represents a question, should be posted to StackOverflow (VS Code)
typescript
Typescript support issues
Steps to Reproduce:
Code
Directory Structure:
./myModule/index.js
member
I'm not sure if this is a vscode or a TypeScript specific issue (my understanding is that the TypeScript engine is powering all JS intellisense). Perhaps it can be resolved using some settings in
jsconfig.json
? Apologize if it's configuration based, but I couldn't find anything in the docs.The docs on TypeScript's module resolution seem to suggest that this should work without having to explicitly mention the
index
file in the path: https://www.typescriptlang.org/docs/handbook/module-resolution.htmlThe text was updated successfully, but these errors were encountered: