646 B
646 B
Update @angular/compiler to v14 (#13609 by @fisker)
- Support shorthand object
- Drop support for quote expressions
<!-- Input -->
<div [input]="{a, b : 2 }"></div>
<!-- Prettier stable -->
Error: Cannot find front char /:/ from index 0 in "{a, b : 2 }"
<!-- Prettier main -->
<div [input]="{ a, b: 2 }"></div>
<!-- Input -->
<a [href]="http://google.com">Click me</a>
<!-- Prettier stable -->
<a [href]="http: //google.com">Click me</a>
<!-- Prettier main -->
<div [href]="http://google.com"></div>