ci: update build to use TypeScript 2.3.2 (#16707)

This commit is contained in:
Chuck Jazdzewski
2017-05-16 13:29:38 -07:00
committed by Jason Aden
parent af99cf2a41
commit 9a7f5d580f
11 changed files with 31 additions and 19 deletions

View File

@ -456,7 +456,7 @@ class _Visitor implements html.Visitor {
0);
if (significantChildren == 1) {
for (let i = this._messages.length - 1; i >= startIndex; i--) {
for (let i = this._messages.length - 1; i >= startIndex !; i--) {
const ast = this._messages[i].nodes;
if (!(ast.length == 1 && ast[0] instanceof i18n.Text)) {
this._messages.splice(i, 1);