Skip to content

Add missing member fix should work for missing function #26217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Aug 6, 2018 · 1 comment · Fixed by #41215
Closed

Add missing member fix should work for missing function #26217

ghost opened this issue Aug 6, 2018 · 1 comment · Fixed by #41215
Labels
Committed The team has roadmapped this issue Domain: Quick Fixes Editor-provided fixes, often called code actions. Help Wanted You can do this Suggestion An idea for TypeScript
Milestone

Comments

@ghost
Copy link

ghost commented Aug 6, 2018

TypeScript Version: 3.1.0-dev.20180804

Code

class C {}
new C().m();

f();

namespace N { export const x = 0; }
N.f();

import * as m from "./mod";
m.f();

Expected behavior:

Codefix for both m() and for every f().

Actual behavior:

Codefix for only m().

@ghost ghost added Suggestion An idea for TypeScript Domain: Quick Fixes Editor-provided fixes, often called code actions. labels Aug 6, 2018
@DanielRosenwasser DanielRosenwasser modified the milestone: TypeScript 3.1 Aug 6, 2018
@RyanCavanaugh RyanCavanaugh added Help Wanted You can do this Committed The team has roadmapped this issue labels Aug 6, 2018
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Aug 16, 2019
@lukaszpolowczyk
Copy link

Duplicate of my issue:
microsoft/vscode#44837

My issue was closed as "* out-of-scope", and here someone is doing it (almost completely).

@mjbvz I am glad that this has been realized.
But maybe the original needs to be marked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Committed The team has roadmapped this issue Domain: Quick Fixes Editor-provided fixes, often called code actions. Help Wanted You can do this Suggestion An idea for TypeScript
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants