We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed that ts-expect-error is suppressing errors it shouldn't be. It seems that both of the two lines following it are suppressed.
Here is a repro which you can see with [email protected] and [email protected]
alex.eagle@ip-192-168-86-150 tsexpecterror % cat > f.ts // @ts-expect-error const a: number = '' const b: string = 1 alex.eagle@ip-192-168-86-150 tsexpecterror % npx tsc f.ts alex.eagle@ip-192-168-86-150 tsexpecterror % cat > f.ts // @ts-expect-error const a: number = '' const b: string = 1 alex.eagle@ip-192-168-86-150 tsexpecterror % npx tsc f.ts f.ts:4:7 - error TS2322: Type '1' is not assignable to type 'string'. 4 const b: string = 1 ~ Found 1 error.
/cc @JoshuaKGoldberg
The text was updated successfully, but these errors were encountered:
Duplicate of #38289
Sorry, something went wrong.
No branches or pull requests
I noticed that ts-expect-error is suppressing errors it shouldn't be. It seems that both of the two lines following it are suppressed.
Here is a repro which you can see with [email protected] and [email protected]
/cc @JoshuaKGoldberg
The text was updated successfully, but these errors were encountered: