Get the latest tech news
Show HN: ts-remove-unused – Remove unused code from your TypeScript project
Remove unused code from your TypeScript project. Contribute to line/ts-remove-unused development by creating an account on GitHub.
However when this declaration is exported and is not referenced by any file in the project, it's difficult to recognize this. ts-remove-unused is a CLI tool made on top of TypeScript that reports/fixes unused exports. When you add a comment// ts-remove-unused-skip to your export declaration, it will be skipped from being removed
Or read this on Hacker News