You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As to why this didn't happen. on 2.1.0, that version didn't replace all default libs that defined Error. This check pass if there is at least one declaration of Error that points to TypeScript's built-in lib.
I think the root cause is TypeScript's isSourceFileDefaultLibrary behavior, so I will try reporting an issue for that.
Steps to reproduce:
better-typescript-lib@2.2.0
.@typescript-eslint/eslint-plugin@5.46.1
and other necessities.@typescript-eslint/no-throw-literal
rule.Expected:
Nothing is flagged.
Actual:
Additional information:
better-typescript-lib@2.1.0
works well.The text was updated successfully, but these errors were encountered: