Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jul 11, 2024
1 parent 4c7cdaf commit 6f731dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions documentation/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
},
{
"text": "Runes",
"items": [
{ "file": "runes/state.md" },
{ "file": "runes/side-effects.md" }
]
"items": [{ "file": "runes/state.md" }, { "file": "runes/side-effects.md" }]
},
{
"text": "Runtime",
Expand All @@ -47,7 +44,7 @@
{ "file": "misc/typescript.md" },
{ "file": "misc/custom-elements.md" },
{ "file": "misc/reactivity-indepth.md" },
{ "file": "misc/svelte-5-migration-guide.md" },
{ "file": "misc/svelte-5-migration-guide.md" }
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/misc/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Using it together with `<svelte:component>` to restrict what kinds of component
interface Props {
// only components that have at most the "prop"
// property required can be passed
component: Component<{ prop: string }>
component: Component<{ prop: string }>;
}
let { component }: Props = $props();
Expand Down

0 comments on commit 6f731dc

Please sign in to comment.