plantain-00 / type-coverage

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

Coverage Results are different before and after dependencies installed #114

Open JonathonChen opened 1 year ago

JonathonChen commented 1 year ago

Some of the infer types are decided by the related type dependencies. I want to scan and generate coverage report in the CI/CD, how could I get the same results whether I install the dependencies(Local) or not(Remote CI/CD)?

plantain-00 commented 1 year ago

I don't think it's possible, their type declarations provided by .d.ts are necessary for type coverage checking, if they are missing, their types will fallback to any