File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -27699,7 +27699,8 @@ namespace ts {
27699
27699
error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference);
27700
27700
return booleanType;
27701
27701
}
27702
- if (expr.kind === SyntaxKind.PropertyAccessExpression && isPrivateIdentifier(expr.name)) {
27702
+ // eslint-disable-next-line
27703
+ if (expr.kind === SyntaxKind.PropertyAccessExpression && isPrivateIdentifier((expr as PropertyAccessExpression).name)) {
27703
27704
error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);
27704
27705
}
27705
27706
const links = getNodeLinks(expr);
Original file line number Diff line number Diff line change @@ -4029,11 +4029,13 @@ namespace ts {
4029
4029
}
4030
4030
4031
4031
if ( member . kind === SyntaxKind . GetAccessor && ! getAccessor ) {
4032
- getAccessor = member ;
4032
+ // eslint-disable-next-line
4033
+ getAccessor = < GetAccessorDeclaration > member ;
4033
4034
}
4034
4035
4035
4036
if ( member . kind === SyntaxKind . SetAccessor && ! setAccessor ) {
4036
- setAccessor = member ;
4037
+ // eslint-disable-next-line
4038
+ setAccessor = < SetAccessorDeclaration > member ;
4037
4039
}
4038
4040
}
4039
4041
}
You can’t perform that action at this time.
0 commit comments