-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
Description
Describe the bug
The $props for +layout.svelte files should include children, alongside data and form for zero-effort types. You can manually type children as Snippet, but then you have to manually type data and form as well.
Reproduction
<!-- /routes/+layout.svelte -->
<script lang="ts">
const { children } = $props();
</script>
{@render children()}<!-- /routes/+page.svelte -->
<h1>Page content</h1>Expected behaviour
children is included in $props for +layout.svelte files
System Info
- OS: MacOS
- IDE: VS Code
Which package is the issue about?
No response
Additional Information, eg. Screenshots

Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working