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 50223fd commit 475cfffCopy full SHA for 475cfff
src/compiler/checker.ts
@@ -10253,6 +10253,7 @@ namespace ts {
10253
break;
10254
}
10255
10256
+ // tslint:disable no-unnecessary-type-assertion
10257
return links.resolvedType!; // TODO: GH#18217
10258
10259
@@ -32948,6 +32949,7 @@ namespace ts {
32948
32949
32950
// Modifiers are never allowed on properties except for 'async' on a method declaration
32951
if (prop.modifiers) {
32952
32953
for (const mod of prop.modifiers!) { // TODO: GH#19955
32954
if (mod.kind !== SyntaxKind.AsyncKeyword || prop.kind !== SyntaxKind.MethodDeclaration) {
32955
grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));
0 commit comments