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 5962a5c commit f0bf72fCopy full SHA for f0bf72f
src/compiler/checker.ts
@@ -33378,7 +33378,7 @@ namespace ts {
33378
33379
// Modifiers are never allowed on properties except for 'async' on a method declaration
33380
if (prop.modifiers) {
33381
- for (const mod of prop.modifiers!) { // TODO: GH#19955
+ for (const mod of prop.modifiers) {
33382
if (mod.kind !== SyntaxKind.AsyncKeyword || prop.kind !== SyntaxKind.MethodDeclaration) {
33383
grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));
33384
}
0 commit comments