pull/12410/head
Ben McCann 2 years ago
parent 4c7cdafe1e
commit 6f731dca4e

@ -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",
@ -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" }
]
},
{

@ -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();

Loading…
Cancel
Save