Files
test-repo/changelog_unreleased/angular/18596.md
T
fisker Cheungandautofix-ci[bot] 04336012b3 Add blog post for v3.8.0 (#18639)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-15 07:57:39 +08:00

497 B

[HIGHLIGHT] Support for spread elements (#18596, #18636 by @prettier)

<!-- Input -->
<MyComponent
  [array]="[   ...foo, ...bar]"
  [object]="{...bar, ...extra  }"
  [call]="call(  ...baz)"
/>

<!-- Prettier stable -->
<MyComponent
  [array]="[   ...foo, ...bar]"
  [object]="{...bar, ...extra  }"
  [call]="call(  ...baz)"
/>

<!-- Prettier main -->
<MyComponent
  [array]="[...foo, ...bar]"
  [object]="{ ...bar, ...extra }"
  [call]="call(...baz)"
/>