We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8c91af commit 5f22895Copy full SHA for 5f22895
src/lint/utils.ts
@@ -46,7 +46,7 @@ function productionBodies(body: ProductionBody) {
46
case SyntaxKind.RightHandSide:
47
return [body];
48
default:
49
- // @ts-ignore
+ // @ts-expect-error
50
throw new Error('unknown production body type ' + body.constructor.name);
51
}
52
0 commit comments