We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Code
See moveToNewFile_moveImport.ts.
moveToNewFile_moveImport.ts
[|import { a, b } from "m"; a;|] b;
Expected behavior:
The import of b is kept in the original file since it's still needed.
b
Actual behavior:
The import is wholly removed from the old file, and an extra import is added to the new file for a even though it already has that.
a
Code
See
moveToNewFile_moveImport.ts.Expected behavior:
The import of
bis kept in the original file since it's still needed.Actual behavior:
The import is wholly removed from the old file, and an extra import is added to the new file for
aeven though it already has that.