Closed
Description
Hello and thank you for creating this!
A programmatic API would be useful so one can use it as part of e.g. Jest or AVA test suite without running separate binary for this and allowing for easy watch mode. API could look something like:
const tsd = require('tsd')
it('has correct type definitions', async () => {
await tsd()
})
And tsd could raise an exception if issues are found
Metadata
Metadata
Assignees
Labels
No labels