Skip to content

Commit 2543e40

Browse files
Update Baselines, Applied Lint Fixes, and/or Formatted
1 parent d3ed886 commit 2543e40

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/compiler/checker.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -707,9 +707,9 @@ import {
707707
isPartOfTypeQuery,
708708
isPlainJsFile,
709709
isPrefixUnaryExpression,
710-
isPrivateIdentifier,
711-
isPrivateIdentifierClassElementDeclaration,
712-
isPrivateIdentifierPropertyAccessExpression,
710+
isPrivateIdentifier,
711+
isPrivateIdentifierClassElementDeclaration,
712+
isPrivateIdentifierPropertyAccessExpression,
713713
isPrivateIdentifierSymbol,
714714
isPropertyAccessEntityNameExpression,
715715
isPropertyAccessExpression,
@@ -7608,11 +7608,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
76087608
if (propertySymbol.flags & SymbolFlags.Prototype) {
76097609
continue;
76107610
}
7611-
if (getDeclarationModifierFlagsFromSymbol(propertySymbol) & (ModifierFlags.Private | ModifierFlags.Protected) && context.tracker.reportPrivateInBaseOfClassExpression) {
7612-
context.tracker.reportPrivateInBaseOfClassExpression(unescapeLeadingUnderscores(propertySymbol.escapedName));
7613-
}
7614-
if (isPrivateIdentifierSymbol(propertySymbol) && context.tracker.reportPrivateInBaseOfClassExpression) {
7615-
context.tracker.reportPrivateInBaseOfClassExpression(idText((propertySymbol.valueDeclaration! as NamedDeclaration).name! as PrivateIdentifier));
7611+
if (getDeclarationModifierFlagsFromSymbol(propertySymbol) & (ModifierFlags.Private | ModifierFlags.Protected) && context.tracker.reportPrivateInBaseOfClassExpression) {
7612+
context.tracker.reportPrivateInBaseOfClassExpression(unescapeLeadingUnderscores(propertySymbol.escapedName));
7613+
}
7614+
if (isPrivateIdentifierSymbol(propertySymbol) && context.tracker.reportPrivateInBaseOfClassExpression) {
7615+
context.tracker.reportPrivateInBaseOfClassExpression(idText((propertySymbol.valueDeclaration! as NamedDeclaration).name! as PrivateIdentifier));
76167616
}
76177617
}
76187618
if (checkTruncationLength(context) && (i + 2 < properties.length - 1)) {

0 commit comments

Comments
 (0)