Skip to content

Commit 475cfff

Browse files
Add tslint ignores.
1 parent 50223fd commit 475cfff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10253,6 +10253,7 @@ namespace ts {
1025310253
break;
1025410254
}
1025510255
}
10256+
// tslint:disable no-unnecessary-type-assertion
1025610257
return links.resolvedType!; // TODO: GH#18217
1025710258
}
1025810259

@@ -32948,6 +32949,7 @@ namespace ts {
3294832949

3294932950
// Modifiers are never allowed on properties except for 'async' on a method declaration
3295032951
if (prop.modifiers) {
32952+
// tslint:disable no-unnecessary-type-assertion
3295132953
for (const mod of prop.modifiers!) { // TODO: GH#19955
3295232954
if (mod.kind !== SyntaxKind.AsyncKeyword || prop.kind !== SyntaxKind.MethodDeclaration) {
3295332955
grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));

0 commit comments

Comments
 (0)