Skip to content

Programmatic API #37

Closed
Closed
@sheerun

Description

@sheerun

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions