1.0.7 • Published 2 years ago

tsc-suppress v1.0.7

Weekly downloads
7
License
MIT
Repository
github
Last release
2 years ago

tsc-suppress

This wrapper executes the Typescript compiler while suppressing all Typescript error messages. This is useful during development when successful compilation is required for debugging but type errors are expected.

The default behaviour of tsc-suppress is similar to using the --transpile-only flag option in ts-node.

Installation

Via npm:

npm i tsc-suppress -D

Via yarn:

yarn add tsc-suppress -D

Usage API

tsc-suppress [--project <path>] [--compiler <path>] [--watch]

Options

  • -P, --project <path>
    • Path to the project's tsconfig.json
    • Default: ${cwd}/tsconfig.json
  • -C, --compiler <path>
    • Path to the project's typescript compiler
    • Default: ${cwd}/node_modules/typescript/lib/typescript.js
  • -W, --watch
    • Run in watch mode
    • Default: false

License

MIT License

1.0.7

2 years ago

1.0.6

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago