Update Angular Estree parser (#18636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
1 parent
ed739f0d66
commit
988efdb3ea
5 files changed
+24
-15
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#### Support spread element in array and object literals (#18596 by @prettier)
|
||||
#### Support spread element in array and object literals (#18596, #18636 by @prettier)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```html
|
||||
@@ -6,11 +6,12 @@
|
||||
<component
|
||||
[a]="[ ...a]"
|
||||
[b]="{...bar }"
|
||||
[c]="call( ...baz)"
|
||||
/>
|
||||
|
||||
<!-- Prettier stable -->
|
||||
<component [a]="[ ...a]" [b]="{...bar }" />
|
||||
<component [a]="[ ...a]" [b]="{...bar }" [c]="call( ...baz)" />
|
||||
|
||||
<!-- Prettier main -->
|
||||
<component [a]="[...a]" [b]="{ ...bar }" />
|
||||
<component [a]="[...a]" [b]="{ ...bar }" [c]="call(...baz)" />
|
||||
```
|
||||
Reference in new issue
Block a user