pzavolinsky / ts-unused-exports

ts-unused-exports finds unused exported symbols in your Typescript project
MIT License
749 stars 49 forks source link

Show locations in files #58

Closed mrseanryan closed 5 years ago

mrseanryan commented 5 years ago

Add a command line option to include the location within the file, in the output (#57).

This speeds up finding the unused exports, as the IDE will navigate to the correct line in the file.

mrseanryan commented 5 years ago

[done] @mrseanryan finish this PR (some itests failing).

The itests fail, because when the new cmd line option is missing, the output is incorrect:

/home/sean/src/github/other/ts-unused-exports/example/tsx/src/util.ts: [object Object]
/home/sean/src/github/other/ts-unused-exports/example/tsx/src/comp.tsx: