Skip to content

Ignore specified error in //@ts-ignore - #21602

Closed
Mikhail Busyrev (Busyrev) wants to merge 5 commits into
microsoft:masterfrom
Busyrev:ignore-specified-error
Closed

Mikhail Busyrev (Busyrev) wants to merge 5 commits into
microsoft:masterfrom
Busyrev:ignore-specified-error

Conversation

@Busyrev

@Busyrev Mikhail Busyrev (Busyrev) commented Feb 3, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #21197
Special syntax available now:

//@ts-ignore TS2349

to ignore only "Cannot invoke an expression whose type lacks a call signature." error.
Comma separated list supported, trailing comma is supported too:

//@ts-ignore TS2349, TS2552

If no error code specified, it ignores all errors.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants