Skip to content

Commit f0bf72f

Browse files
committed
Fix linting issue
1 parent 5962a5c commit f0bf72f

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
@@ -33378,7 +33378,7 @@ namespace ts {
3337833378

3337933379
// Modifiers are never allowed on properties except for 'async' on a method declaration
3338033380
if (prop.modifiers) {
33381-
for (const mod of prop.modifiers!) { // TODO: GH#19955
33381+
for (const mod of prop.modifiers) {
3338233382
if (mod.kind !== SyntaxKind.AsyncKeyword || prop.kind !== SyntaxKind.MethodDeclaration) {
3338333383
grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));
3338433384
}

0 commit comments

Comments
 (0)