Incorrect getEditsForFileRename with npm linked module #25059
Labels
Bug
A bug in TypeScript
Fixed
A PR has been merged for this issue
VS Code Tracked
There is a VS Code equivalent to this issue
Milestone
From microsoft/vscode#52022
TypeScript Version: 3.0.0-dev.20180616
Search Terms:
Code
git clone https://github.com/mjbvz/ts-update-paths-npm-link-bug
npm install
d.ts
d.ts
toa.ts
Expected behavior:
No edits returned from
getEditsForFileRename
Actual behavior:
getEditsForFileRename
changes the import forimport { abc } from "sub";
toimport { abc } from "./sub/src/types"
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: