Closed Logicer16 closed 6 months ago
When running type-coverage in an empty project (i.e. typescript file has no contents which can have types), the result includes NaN%. This is not meaningful and NaN should instead be handled appropriately.
type-coverage
NaN%
No NaN%
$ pnpx type-coverage 0 / 0 NaN% type-coverage success.
v2.28.2 should fix it.
I know it wasn't a difficult fix but I'm still amazed at how fast you fixed this. Thank you so much!
When running
type-coverage
in an empty project (i.e. typescript file has no contents which can have types), the result includesNaN%
. This is not meaningful and NaN should instead be handled appropriately.Version(if relevant): 2.28.1
Environment(if relevant): Windows 11
Expected:
No
NaN%
Actual: