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
I use svelte 5.0.5, and the latest of all relevant packages.
I have selected "defaut formatter" to be Svelte for VS Code, version v109.1.0
If I create a +page.svelte file with this content:
<script lang="ts">
let { children } = $props()
</script>
<div>
<h1>
</h1>
</div>
Then press save, it properly adds a ; to the end of the second line.
If I add this:
<script lang="ts">
let { children } = $props()
</script>
<div>
<h1>
{@render children?.()}
</h1>
</div>
It no longer adds the ;. Formatting fails when {@render children?.()} is included
Reproduction
Described above
Expected behaviour
Formatting should work when @render is used
System Info
OS: Mac OS
IDE: VSCode
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I use svelte 5.0.5, and the latest of all relevant packages.
I have selected "defaut formatter" to be Svelte for VS Code, version v109.1.0
If I create a +page.svelte file with this content:
Then press save, it properly adds a ; to the end of the second line.
If I add this:
It no longer adds the ;. Formatting fails when {@render children?.()} is included
Reproduction
Described above
Expected behaviour
Formatting should work when @render is used
System Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: