Skip to content

Commit 2e985e7

Browse files
authored
Merge pull request microsoft#33581 from microsoft/fix-lint-20190924
Fix lint on master
2 parents 64c3fca + 41c3e54 commit 2e985e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33314,6 +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 @typescript-eslint/no-unnecessary-type-assertion
3331733318
for (const mod of prop.modifiers!) { // TODO: GH#19955
3331833319
if (mod.kind !== SyntaxKind.AsyncKeyword || prop.kind !== SyntaxKind.MethodDeclaration) {
3331933320
grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));

0 commit comments

Comments
 (0)