Angular: Fix formatting of "non-null assertion" (#18047)
This commit is contained in:
1 parent
5abc81f055
commit
d9e12fdd97
5 files changed
+41
-7
No files matched your search
@@ -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 }}
|
||||
```
|
||||
Reference in new issue
Block a user