forked from sveltejs/prettier-plugin-svelte
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix) properly format nested array patterns
Fixes sveltejs#259
- Loading branch information
Simon Holthausen
committed
Nov 14, 2021
1 parent
f5e5c4f
commit 6ae9053
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{#await thePromise} | ||
<p>loading...</p> | ||
{:then { data: [theValue] }} | ||
<p>the value is {theValue}</p> | ||
{:catch { data: [{ data: [theError] }] }} | ||
<p>oh no! {theError.message}</p> | ||
{/await} |