-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Closed
Labels
Milestone
Description
Complexity: 2
OS
Overview
TypeScript 2.6 will now show exported members for other files in the completion list, even if these files are currently not imported. Selecting one of these suggestions will automatically add the import to your file
Testing
- Create a new javascript project with a simple
jsconfig.json
- Create a few files that define some exports
- In separate files, try triggering suggestions for these exported symbols.
- Make sure the imports are added as expected
Other cases to try
- Try this in a larger codebase, such as vscode (make sure you are using VS Code's version of TS)
- Make sure this work even if there are multiple exported symbols with the same name
- Test with typescript code on a
tsconfig.json
project