plantain-00 / type-coverage

A CLI tool to check type coverage for typescript code
MIT License
1.26k stars 44 forks source link

Added fileCounts to core lint api with flag #37

Closed mattdarveniza closed 5 years ago

mattdarveniza commented 5 years ago

Fixes(if relevant):

36

Checks

For now I've just included this in core with API access as that's all I really needed it for, but am open to adding in CLI support if you feel it needs it.

It would have been nice to include the anys for each file as well however I found I was running up against memory and performance issues for large projects pretty quickly by retaining all of these per file, so it's just including the correct and total counts per file, which I think are the main things to be looking for anyway.