diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 5abeecd4107..8788e0c02f4 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -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; }