Code
// File: test1.ts
export class Test {
}
// File: test2.ts
import { Test as Test } from './test1'
const test = new Test()
If you rename left or right side of Test as Test - both sides are renamed at the same time - it should only rename source or alias separately