-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS imports are not refactored on file rename/move when resolveJsonModule and esModuleInterop are true in tsconfig.json #26927
Comments
mjbvz
added
Domain: JavaScript
The issue relates to JavaScript specifically
Needs More Info
The issue still hasn't been fully clarified
labels
Sep 5, 2018
mjbvz
removed
Needs More Info
The issue still hasn't been fully clarified
Domain: JavaScript
The issue relates to JavaScript specifically
labels
Sep 5, 2018
This seems to be fixed in typescript@next. The original error was:
@mezei-adrian Please try upgrading your workspace to use |
I upgraded the workspace and the imports are still not refactored. I also observed, that this issue only holds if a JSON file is imported. So if I modify my example A.ts file to // A.ts
import { log } from "./B"; then the imports are renamed properly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @mezei-adrian on August 2, 2018 14:35
Steps to Reproduce:
The issue is the same when the imported JSON file is moved/renamed.
Copied from original issue: microsoft/vscode#55665
The text was updated successfully, but these errors were encountered: