Missing properties quickfix does not add missing imports #49001
Labels
Bug
A bug in TypeScript
Domain: Quick Fixes
Editor-provided fixes, often called code actions.
Effort: Casual
Good issue if you're already used to contributing to the codebase. Harder than "good first issue".
Fix Available
A PR has been opened for this issue
Help Wanted
You can do this
Milestone
Bug Report
🔎 Search Terms
quickfix missing properties imports
🕗 Version & Regression Information
The quickfix was added in #44576 (cc @a-tarasyuk @komyg) but it doesn't appear to add missing imports.
💻 Code
🙁 Actual behavior
The "Add missing properties" quickfix generates the following:
🙂 Expected behavior
Note that this works correctly for classes:
Before quickfix:
After "Implement interface Bar" quickfix:
The text was updated successfully, but these errors were encountered: