mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-12 12:57:11 -06:00
ESLint suppressions because ain't nobody got time for this.
This commit is contained in:
parent
946f4be633
commit
8f79cd42f4
@ -27699,7 +27699,8 @@ namespace ts {
|
||||
error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference);
|
||||
return booleanType;
|
||||
}
|
||||
if (expr.kind === SyntaxKind.PropertyAccessExpression && isPrivateIdentifier(expr.name)) {
|
||||
// eslint-disable-next-line
|
||||
if (expr.kind === SyntaxKind.PropertyAccessExpression && isPrivateIdentifier((expr as PropertyAccessExpression).name)) {
|
||||
error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);
|
||||
}
|
||||
const links = getNodeLinks(expr);
|
||||
|
||||
@ -4029,11 +4029,13 @@ namespace ts {
|
||||
}
|
||||
|
||||
if (member.kind === SyntaxKind.GetAccessor && !getAccessor) {
|
||||
getAccessor = member;
|
||||
// eslint-disable-next-line
|
||||
getAccessor = <GetAccessorDeclaration>member;
|
||||
}
|
||||
|
||||
if (member.kind === SyntaxKind.SetAccessor && !setAccessor) {
|
||||
setAccessor = member;
|
||||
// eslint-disable-next-line
|
||||
setAccessor = <SetAccessorDeclaration>member;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user