Angular: Fix formatting of "non-null assertion" (#18047)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-10-11 18:58:12 +08:00
1 parent 5abc81f055
commit d9e12fdd97
5 files changed
+41 -7

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#### Fix formatting of "non-null assertion" (#18047 by @fisker)
<!-- prettier-ignore -->
```html
<!-- Input -->
{{ foo?.bar!.baz }}
<!-- Prettier stable -->
{{ (foo?.bar)!.baz }}
<!-- Prettier main -->
{{ foo?.bar!.baz }}
```