File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments