Skip to content

Error with insertNodeAfter in file with no trailing newline #23728

Description

To reproduce, go to moveToNewFile_updateUses.ts (as of #23726) and remove the line that's only ////. You will then get the text import·{·x·}·from·"./a";import·{·y·}·from·"./y"; for /user.ts.

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