Open
Description
π Search Terms
move to file self imports
π Version & Regression Information
- This is the behavior in every version I tried
- I tried in 5.7.0-dev.20240826
β― Playground Link
No response
π» Code
// file _a.ts
export interface ISomething {
}
// file _b.ts
import { ISomething } from './a';
export function func(something: ISomething) {
}
Select func
and move it to _a.ts
π Observe the result:
π Actual behavior
// file _a.ts
import { ISomething } from './a'; // <------------------ incorrect import from itself
export interface ISomething {
}
export function func(something: ISomething) {
}
π Expected behavior
// file _a.ts
export interface ISomething {
}
export function func(something: ISomething) {
}
Additional information about the issue
No response