Skip to content

Commit f83711c

Browse files
committed
chore: format code to pass CI
1 parent 0b9ef8d commit f83711c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/compiler/checker.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19317,10 +19317,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
1931719317
const symbolName = getFullyQualifiedName((indexType as UniqueESSymbolType).symbol, accessExpression);
1931819318
errorInfo = chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Property_0_does_not_exist_on_type_1, "[" + symbolName + "]", typeToString(objectType));
1931919319
}
19320-
1932119320
// Handle literals, type parameters (like K extends string), and keyof types
1932219321
else if (indexType.flags & (TypeFlags.StringLiteral | TypeFlags.TypeParameter | TypeFlags.Index)) {
19323-
1932419322
// 1. Try specific property (only for literals)
1932519323
if (indexType.flags & TypeFlags.StringLiteral) {
1932619324
const prop = getPropertyOfType(objectType, escapeLeadingUnderscores((indexType as StringLiteralType).value));

0 commit comments

Comments
 (0)