Skip to content

Commit 501d92a

Browse files
committed
Fix linting errors
1 parent 0b37adc commit 501d92a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/checker.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10159,8 +10159,8 @@ namespace ts {
1015910159
callNode: context.callNode,
1016010160
signature: context.signature,
1016110161
inferences: map(context.inferences, cloneInferenceInfo),
10162-
flags: context.flags | InferenceFlags.NoDefault,
10163-
}
10162+
flags: context.flags | InferenceFlags.NoDefault
10163+
};
1016410164
}
1016510165

1016610166
function cloneInferenceInfo(inference: InferenceInfo): InferenceInfo {
@@ -10617,7 +10617,7 @@ namespace ts {
1061710617
}
1061810618

1061910619
function getInferredTypes(context: InferenceContext): Type[] {
10620-
let result = [];
10620+
const result: Type[] = [];
1062110621
for (let i = 0; i < context.inferences.length; i++) {
1062210622
result.push(getInferredType(context, i));
1062310623
}

0 commit comments

Comments
 (0)