You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing properties quickfix does not add missing imports #49001
BugA bug in TypeScriptDomain: LS: Quick FixesEditor-provided fixes, often called code actions.Effort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".Fix AvailableA PR has been opened for this issue
The "Add missing properties" quickfix generates the following:
import{Bar}from"./bar";constbar: Bar={bar: function(): SomeType{// <-- Cannot find name 'SomeType'thrownewError("Function not implemented.");}};
🙂 Expected behavior
import{Bar,SomeType}from"./bar";// <-- SomeType should be importedconstbar: Bar={bar: function(): SomeType{thrownewError("Function not implemented.");}};
BugA bug in TypeScriptDomain: LS: Quick FixesEditor-provided fixes, often called code actions.Effort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".Fix AvailableA PR has been opened for this issue
Activity