Remove unnecessary check in emitNodeList (#18327)

This commit is contained in:
Andy authored and GitHub committed 2017-09-08 07:18:37 -07:00
1 parent 02cfb81ac0
commit 4ee7d3aeb2
1 file changed
+1 -1
+1 -1
View File
@@ -2415,7 +2415,7 @@ namespace ts {
return;
}
const isEmpty = isUndefined || children.length === 0 || start >= children.length || count === 0;
const isEmpty = isUndefined || start >= children.length || count === 0;
if (isEmpty && format & ListFormat.OptionalIfEmpty) {
return;
}