1.0.7 • Published 4 years ago
tsc-suppress v1.0.7
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 -DVia yarn:
yarn add tsc-suppress -DUsage 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