Automatically Remove All Unused Imports in a TypeScript Project

added by JavaScript Kicks
2/25/2019 9:49:10 AM

297 Views

We will use the tslint command line tool, in conjuction with the tslint-etc rules, to automatically detect and remove all unused imports in the directory, recursively. If you have a large project, the process can take some time to run. It is important to double-check all files for correctness once the fix process is complete.


0 comments