mockdeep / typewiz

Automatically discover and add missing types in your TypeScript code
https://medium.com/@urish/manual-typing-is-no-fun-introducing-typewiz-58e3e8813f4c
1.1k stars 46 forks source link

add badge for type coverage rate? #94

Open myan9 opened 5 years ago

myan9 commented 5 years ago

It would be nice to offer a TypeWiz badge for repo's type coverage rate.

urish commented 5 years ago

I love this idea :)

urish commented 5 years ago

Any ideas how other badges are implemented? Are there any services/libraries that aid with this?

starpit commented 5 years ago

for the two typecov badges on https://github.com/IBM/kui we are using serverless functions to host the backend for a shields.io endpoint: https://shields.io/endpoint

(when you click on the badges right now, you get the raw JSON coverage report that i have been working on; see #95 for related discussion)

urish commented 5 years ago

Thanks for the info!