Skip to content

Commit 41c3e54

Browse files
committed
change eslint-disable rule name
1 parent 4ddf191 commit 41c3e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33314,7 +33314,7 @@ namespace ts {
3331433314

3331533315
// Modifiers are never allowed on properties except for 'async' on a method declaration
3331633316
if (prop.modifiers) {
33317-
// eslint-disable-next-line no-unnecessary-type-assertion
33317+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
3331833318
for (const mod of prop.modifiers!) { // TODO: GH#19955
3331933319
if (mod.kind !== SyntaxKind.AsyncKeyword || prop.kind !== SyntaxKind.MethodDeclaration) {
3332033320
grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));

0 commit comments

Comments
 (0)