Skip to content

Cannot rename LHS of import specifier when its name is prefixed with two underscores #3268

Closed
@DanielRosenwasser

Description

@DanielRosenwasser

fileA.ts

export function __foo() {
}

fileB.ts

import { __foo/**/ as bar } from "./fileA";

bar();

Try renaming __foo at the marker. This won't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions