kcmr / vsce-remove-unused-imports

VS Code extension to remove unused ES6 imports inside JavaScript and TypeScript files
https://marketplace.visualstudio.com/items?itemName=kuscamara.remove-unused-imports
MIT License
17 stars 5 forks source link

Support Typescript 4.9.4+ #24

Closed spilist closed 1 year ago

spilist commented 1 year ago

Thx for the great extension, I love it.

Recently I experienced this issue and found out the reasons was this package.

I forked this repository, upgraded all packages to latest, published to vscode marketplace, and confirmed the upgraded version worked well. (https://marketplace.visualstudio.com/items?itemName=spilist.remove-unused-imports-ts-494)

You can refer to https://github.com/spilist/vsce-remove-unused-imports/commit/2a4750e5a85708586eaa3eaf43537ba347d86c5d what I changed. When you update the package, I'll remove mine.

kcmr commented 1 year ago

Hi @spilist

Thank you for the investigation. I will take a look later and try to release a version with updated dependencies.

spilist commented 1 year ago

Thx for the fast response. I looked through my commit again. FYI, the snapshot update was just to pass tests, and "interactive": "^0.1.9", was added by mistake.

kcmr commented 1 year ago

Don't worry about that ;)

kcmr commented 1 year ago

Hi @spilist

Version 1.2.3 with updated TS dependencies is already published: https://marketplace.visualstudio.com/items?itemName=kuscamara.remove-unused-imports

Thank you for the help :)

spilist commented 1 year ago

@kcmr Thank you!