codecheck-type-coverage
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

codechecks.io

Type Coverage Watcher

Track missing type coverage in TypeScript projects to ensure type safety

Build Status Software License

Install

npm add --save-dev @codechecks/type-coverage-watcher

or

yarn add --dev @codechecks/type-coverage-watcher

Usage

Add to your codechecks.js file:

import { typeCoverageWatcher } from "@codechecks/type-coverage-watcher";
 
export async function main() {
  await typeCoverageWatcher();
 
  // ...
}

API

typeCoverageWatcher(options: Options): Promise<void>

options

interface Options {
  tsconfigPath?: string;
}
tsconfigPath

optional string

Default: tsconfig.json

Path to typescript project configuration

Contributing

All contributions are welcomed. Read more in CONTRIBUTING.md

Licence

MIT @ codechecks.io

Package Sidebar

Install

npm i codecheck-type-coverage

Weekly Downloads

11

Version

0.0.5

License

MIT

Unpacked Size

289 kB

Total Files

34

Last publish

Collaborators

  • krzkaczor