mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e5720edb46
This adds the support of `if ` conditions with `as` clause when migrating to the control flow syntax.
It now adds the required semicolon before the `as` when migrating the template.
Before: `@if (user$ | async as user) {`
After: `@if (user$ | async; as user) {`
PR Close #52181