359 B
359 B
Avoid adding colon for track in 3rd expression of for blocks (#15887 by @sosukesuzuki)
<!-- Input -->
@for (item of items; let i = $index; track block) {}
<!-- Prettier stable -->
@for (item of items; let i = $index; track: block) {}
<!-- Prettier main -->
@for (item of items; let i = $index; track block) {}