Skip to content

Renaming import alias with the same name renames the origin #10894

Closed
@normalser

Description

@normalser

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions