orbitdb / orbit-db-types

Unofficial orbit-db typings!
MIT License
26 stars 36 forks source link

Testing #25

Open aphelionz opened 4 years ago

aphelionz commented 4 years ago

From @rigwild's comment in #24:

What you could do is to write a simple TypeScript program that makes use of tested types and check if it compiles successfully without errors/warnings.

rigwild commented 4 years ago

I just found out about https://github.com/SamVerschueren/tsd which is exactly what you may be looking for.

aphelionz commented 4 years ago

Just checked it out in more detail and yes! This is exactly it. It would be most useful, I think, if it was part of the orbitdb/orbit-db testing pipeline to make sure these are always up to date with whatever is in the orbitdb/orbit-db#master branch

Edit: Probably not locally, but as part of automated CI via CircleCI or GitHub Actions