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

https://github.com/danielpza/ts-expect-error

Silence typescript errors by adding a @ts-expect-error directive.
https://github.com/danielpza/ts-expect-error

error ignore ts-expect-error typescript

Last synced: 12 months ago
JSON representation

Silence typescript errors by adding a @ts-expect-error directive.

Awesome Lists containing this project

README

          

# ts-expect-error

Inpired by https://github.com/airbnb/ts-migrate which is a very good tool but the reignore feature didn't work in some convoluted setups with workspaces. This is a smaller version only adding the `@ts-expect-error` directive.

Silence typescript errors by adding a @ts-expect-error directive.

## Usage

```shell
$ ts-expect-error --help
ts-expect-error [...options]

options
-h, --help Show this help message.
-v, --version Display package version.
-r, --remove-current-checks Remove previously placed @ts-expect-error directives.
-w, --cwd Change the current working directory.
```