We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ddf191 commit 41c3e54Copy full SHA for 41c3e54
src/compiler/checker.ts
@@ -33314,7 +33314,7 @@ namespace ts {
33314
33315
// Modifiers are never allowed on properties except for 'async' on a method declaration
33316
if (prop.modifiers) {
33317
- // eslint-disable-next-line no-unnecessary-type-assertion
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
33318
for (const mod of prop.modifiers!) { // TODO: GH#19955
33319
if (mod.kind !== SyntaxKind.AsyncKeyword || prop.kind !== SyntaxKind.MethodDeclaration) {
33320
grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));
0 commit comments