Skip to content

Commit add5146

Browse files
committed
Fix linting errors
1 parent 11f4e3c commit add5146

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/checker.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -6255,11 +6255,11 @@ namespace ts {
62556255
}
62566256

62576257
function typeIdenticalToSomeType(source: Type, target: UnionOrIntersectionType): boolean {
6258-
for (let t of target.types) {
6258+
for (const t of target.types) {
62596259
if (isTypeIdenticalTo(source, t)) {
62606260
return true;
62616261
}
6262-
}
6262+
}
62636263
return false;
62646264
}
62656265

@@ -6288,7 +6288,7 @@ namespace ts {
62886288
}
62896289
return source;
62906290
}
6291-
6291+
62926292
function getInferenceCandidates(context: InferenceContext, index: number): Type[] {
62936293
const inferences = context.inferences[index];
62946294
return inferences.primary || inferences.secondary || emptyArray;

0 commit comments

Comments
 (0)