Closed
Description
In the example above, the @ts-ignore
line should error because there is no TypeScript error to be ignored. This is the same behavior as Flow's suppress_comment
feature.
Alternatively, if you want to maintain this behavior, consider creating a @ts-expect-error
.