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.
- Host: GitHub
- URL: https://github.com/danielpza/ts-expect-error
- Owner: danielpza
- Created: 2024-08-23T00:14:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T22:28:26.000Z (over 1 year ago)
- Last Synced: 2025-06-05T19:59:10.044Z (about 1 year ago)
- Topics: error, ignore, ts-expect-error, typescript
- Language: TypeScript
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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.
```