Skip to content

Commit 9ae9371

Browse files
committed
Fix lint errors
1 parent 7aee647 commit 9ae9371

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/compiler/checker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7564,7 +7564,7 @@ namespace ts {
75647564
}
75657565

75667566
function getRestTypeOfSignature(signature: Signature) {
7567-
let type = getTypeOfRestParameter(signature);
7567+
const type = getTypeOfRestParameter(signature);
75687568
return type && getIndexTypeOfType(type, IndexKind.Number) || anyType;
75697569
}
75707570

@@ -17876,7 +17876,7 @@ namespace ts {
1787617876
const arg = getEffectiveArgument(node, args, i);
1787717877
// If the effective argument is 'undefined', then it is an argument that is present but is synthetic.
1787817878
if (arg === undefined || arg.kind !== SyntaxKind.OmittedExpression) {
17879-
let paramType = getTypeAtPosition(signature, i);
17879+
const paramType = getTypeAtPosition(signature, i);
1788017880
let argType = getEffectiveArgumentType(node, i);
1788117881
// If the effective argument type is 'undefined', there is no synthetic type
1788217882
// for the argument. In that case, we should check the argument.

0 commit comments

Comments
 (0)