Skip to content

Commit 5f22895

Browse files
committed
switch another ts-ignore for ts-expect-error
1 parent a8c91af commit 5f22895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lint/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function productionBodies(body: ProductionBody) {
4646
case SyntaxKind.RightHandSide:
4747
return [body];
4848
default:
49-
// @ts-ignore
49+
// @ts-expect-error
5050
throw new Error('unknown production body type ' + body.constructor.name);
5151
}
5252
}

0 commit comments

Comments
 (0)