diff --git a/modules/@angular/compiler/src/output/ts_emitter.ts b/modules/@angular/compiler/src/output/ts_emitter.ts index d3bf0fc497..788e4608f6 100644 --- a/modules/@angular/compiler/src/output/ts_emitter.ts +++ b/modules/@angular/compiler/src/output/ts_emitter.ts @@ -86,7 +86,7 @@ class _TsEmitterVisitor extends AbstractEmitterVisitor implements o.TypeVisitor } const result = super.visitLiteralArrayExpr(ast, ctx); if (ast.entries.length === 0) { - ctx.print(' as any)'); + ctx.print(' as any[])'); } return result; }