Closed
Description
// @filename: src/_producer.ts
export function doit() {}
// @filename: src/_consumer.ts
import { doit as doit2 } from "./_producer";
class Another {}
class Consumer {
constructor() {
doit2();
}
}
Doing move to a new file on Consumer generates the following 🐛 (note how doit2
does not exist in _producer.ts
):
// @filename: src/Consumer.ts
import { doit2 } from "./_producer";
class Consumer {
constructor() {
doit2();
}
}