plantain-00 / type-coverage

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

Programatic usage / API #18

Closed krzkaczor closed 5 years ago

krzkaczor commented 5 years ago

I wonder if there is a way to access type-coverage programmatically using some sort of API. That would make it easier to integrate with various tooling.

plantain-00 commented 5 years ago

There is one available: https://github.com/plantain-00/type-coverage/blob/master/src/core.ts#L12

krzkaczor commented 5 years ago

Oh, it looks like exactly what I needed. Thanks!