You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
- pass children to zero types Svelte 5: +layout.svelte children not included in zero-effort type safety #2212
- add possibility to pass in version to svelte2tsx to differentiate transpiler targets
- add implicit children prop in Svelte 5 mode Svelte 5: Implicit children not detected correctly #2211
- add best-effort fallback typings to $props() rune
- hide deprecation warnings in generated code Svelte 5: Typescript generics in components are marked as deprecated svelte#9586
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
Expected behaviour
children is included in $props for +layout.svelte files
System Info
Which package is the issue about?
No response
Additional Information, eg. Screenshots
The text was updated successfully, but these errors were encountered: