We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
5.7.0-dev.20241030
No response
consts.ts
export const a = 123; console.log(a);
index.ts
import * as consts from "./consts"; console.log(consts.a);
console.log(a);
Imports get duplicated:
import * as consts from "./consts"; import { a } from "./consts"; console.log(consts.a); console.log(a);
It should rewrite the code to use the existing import:
import * as consts from "./consts"; console.log(consts.a); console.log(consts.a);
The text was updated successfully, but these errors were encountered:
Similar things happen with "move to a file" refactoring
Sorry, something went wrong.
navya9singh
No branches or pull requests
π Search Terms
π Version & Regression Information
5.7.0-dev.20241030
β― Playground Link
No response
π» Code
consts.ts
index.ts
consts.ts
, copyconsole.log(a);
index.ts
π Actual behavior
Imports get duplicated:
π Expected behavior
It should rewrite the code to use the existing import:
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: