Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@snyk/types-tap

snyk31Apache-2.01.1.0TypeScript support: included

Opinionated Typescript typings for Node TAP

readme

snyk-types-tap

Type definitions for https://node-tap.org/

TAP still has no official types definitions, so here's our interim solution to help you write nicely structured tests in Typescript.

To use via the package:

npm i -D @snyk/types-tap

To use these typings manually:

  • copy index.d.ts to the path typings/tap/index.d.ts in your project
  • add "typings/tap/index.d.ts" to the include section of your tsconfig.json