ts-inquisition
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

ts-inquisition

expect all the type errors. A simple CLI util to mark all your current TS errors as expected. Useful when

  • you wan to start failing your builds on a new type error while keeping the old ones as is.
  • you are converting JS project into TS. With ts-inquisition you can basically do a project of any size in like 10 minutes if you are ok with having the current TS errors silenced.

Supports ts and tsx files.

Usage

Warning Note that it is only tested on code bases formatted with prettier. It won't work correctly on code bases with any other formatting.

npx ts-inquisition "src/**"

Errors that will not be expected

  • import statement errors. You really should fix those, does not make much sense to silence them.
  • spanish inquisition. Nobody expects spanish inquisition.

all other TS errors will be expected and silenced.

Why is it called ts-inquisition

It's a reference to https://www.youtube.com/watch?v=Cj8n4MfhjUc

Package Sidebar

Install

npm i ts-inquisition

Weekly Downloads

13

Version

0.1.0

License

MIT

Unpacked Size

29.3 kB

Total Files

11

Last publish

Collaborators

  • capaj