fix(compiler): emit correct types for literal arrays and maps.

This commit is contained in:
Tobias Bosch
2016-05-04 11:02:01 -07:00
parent 7150ace7c7
commit a81923b793
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<div>{{ctxProp}}</div>
<div [attr.array]="[0]" [attr.map]="{a:1}">{{ctxProp}}</div>
<form><input type="button" [(ngModel)]="ctxProp"/></form>
<my-comp *ngIf="ctxBool"></my-comp>
<div *ngFor="let x of ctxArr" [attr.value]="x"></div>