Skip to content

Commit e1477b4

Browse files
committed
Fix lint error
1 parent 60639ce commit e1477b4

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
@@ -25536,7 +25536,7 @@ namespace ts {
2553625536
const property = getPropertyOfType(parentType, nameText);
2553725537
if (property) {
2553825538
markPropertyAsReferenced(property, /*nodeForCheckWriteOnly*/ undefined, /*isThisAccess*/ false); // A destructuring is never a write-only reference.
25539-
checkPropertyAccessibility(parent, !!parent.initializer && parent.initializer.kind === SyntaxKind.SuperKeyword, parentType!, property);
25539+
checkPropertyAccessibility(parent, !!parent.initializer && parent.initializer.kind === SyntaxKind.SuperKeyword, parentType, property);
2554025540
}
2554125541
}
2554225542
}

0 commit comments

Comments
 (0)