-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.FixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
TypeScript Version: 3.0.0-dev.20180621
Code
/// <reference path="fourslash.ts" />
// @Filename: /a.d.ts
////declare function a(): void;
////export = a;
// @Filename: /b.ts
////a;
goTo.file("/b.ts");
verify.importFixAtPosition(["?"]);Expected behavior:
Get an import fix.
Actual behavior:
No fix. getAllReExportingModules doesn't handle this case.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.FixedA PR has been merged for this issueA PR has been merged for this issue