Fix linting issue

This commit is contained in:
Anders Hejlsberg 2018-10-06 18:17:10 -07:00
parent 86704e5bf9
commit 48f2dd963c

View File

@ -12869,7 +12869,7 @@ namespace ts {
return propType;
}
if (everyType(type, isTupleType)) {
let restType = mapType(type, t => getRestTypeOfTupleType(<TupleTypeReference>t) || undefinedType);
const restType = mapType(type, t => getRestTypeOfTupleType(<TupleTypeReference>t) || undefinedType);
if (restType !== undefinedType) {
return restType;
}