Skip to content

Commit 32f5613

Browse files
committed
Test
1 parent df61cca commit 32f5613

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
@@ -33312,7 +33312,7 @@ namespace ts {
3331233312

3331333313
// Modifiers are never allowed on properties except for 'async' on a method declaration
3331433314
if (prop.modifiers) {
33315-
for (const mod of prop.modifiers!) { // TODO: GH#19955
33315+
for (const mod of prop.modifiers) { // TODO: GH#19955
3331633316
if (mod.kind !== SyntaxKind.AsyncKeyword || prop.kind !== SyntaxKind.MethodDeclaration) {
3331733317
grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));
3331833318
}

0 commit comments

Comments
 (0)