An open API service indexing awesome lists of open source software.

https://github.com/capaj/ts-inquisition

A simple CLI util to mark all your current TS errors as expected. Useful when you wan to fail your builds on a new type error while expecting the old ones
https://github.com/capaj/ts-inquisition

cli js-to-ts typechecking typescript

Last synced: 10 months ago
JSON representation

A simple CLI util to mark all your current TS errors as expected. Useful when you wan to fail your builds on a new type error while expecting the old ones

Awesome Lists containing this project

README

          

# 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