We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code inside #each destructuring doesn't appear to be formatted. Using
#each
"prettier": "^2.5.0", "prettier-plugin-svelte": "^2.5.0", "svelte": "^3.44.2",
Expected after formatting
<script> let arr = [{ a: 1 }] </script> {#each arr as { a, b = '' }} {a} {b} {/each}
Actual
<script> let arr = [{a:1}] </script> {#each arr as {a,b =''}} {a} {b} {/each}
The text was updated successfully, but these errors were encountered:
(fix) destructuring with default values
29c7c8b
- use expandNode for each context - support array and object expressions in expandNode sveltejs#265
(fix) destructuring with default values (#269)
af1d500
- use expandNode for each context - support array and object expressions in expandNode #265
Successfully merging a pull request may close this issue.
Code inside
#each
destructuring doesn't appear to be formatted. UsingExpected after formatting
Actual
The text was updated successfully, but these errors were encountered: