File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27761,7 +27761,7 @@ namespace ts {
2776127761 error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference);
2776227762 return booleanType;
2776327763 }
27764- if (expr.kind === SyntaxKind.PropertyAccessExpression && isPrivateIdentifier(( expr as PropertyAccessExpression) .name)) {
27764+ if (expr.kind === SyntaxKind.PropertyAccessExpression && isPrivateIdentifier(expr.name)) {
2776527765 error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);
2776627766 }
2776727767 const links = getNodeLinks(expr);
Original file line number Diff line number Diff line change @@ -4029,11 +4029,11 @@ namespace ts {
40294029 }
40304030
40314031 if ( member . kind === SyntaxKind . GetAccessor && ! getAccessor ) {
4032- getAccessor = < GetAccessorDeclaration > member ;
4032+ getAccessor = member ;
40334033 }
40344034
40354035 if ( member . kind === SyntaxKind . SetAccessor && ! setAccessor ) {
4036- setAccessor = < SetAccessorDeclaration > member ;
4036+ setAccessor = member ;
40374037 }
40384038 }
40394039 }
You can’t perform that action at this time.
0 commit comments