This commit is contained in:
Anders Hejlsberg 2018-08-29 06:57:21 -07:00
parent 349bee92a3
commit 9f4ae5f5ea

View file

@ -10725,7 +10725,7 @@ namespace ts {
const sourceRestType = getNonArrayRestType(source);
const targetRestType = getNonArrayRestType(target);
if (sourceRestType && targetRestType && sourceCount !== targetCount) {
// We're not able to relate misaliged complex rest parameters
// We're not able to relate misaligned complex rest parameters
return Ternary.False;
}