Closed
Description
Steps to reproduce:
- Install
better-typescript-lib@2.2.0
. - Install
@typescript-eslint/eslint-plugin@5.46.1
and other necessities. - Activate
@typescript-eslint/no-throw-literal
rule. - Lint the code below.
throw new Error("foo");
Expected:
Nothing is flagged.
Actual:
error Expected an error object to be thrown @typescript-eslint/no-throw-literal
Additional information:
better-typescript-lib@2.1.0
works well.
Metadata
Metadata
Assignees
Labels
No labels