mirror of https://github.com/sveltejs/svelte
fix: migrate multiple declarations with only some exported correctly (#14126)
parent
a952860232
commit
74a2c6b580
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: migrate multiple declarations with only some exported correctly
|
@ -0,0 +1,6 @@
|
||||
<script>
|
||||
let a, b, c, d;
|
||||
let e, f, g, h;
|
||||
|
||||
export {a, c , f, h}
|
||||
</script>
|
@ -0,0 +1,12 @@
|
||||
<script>
|
||||
let b, d;
|
||||
let e, g;
|
||||
let {
|
||||
a,
|
||||
c,
|
||||
f,
|
||||
h
|
||||
} = $props();
|
||||
|
||||
|
||||
</script>
|
Loading…
Reference in new issue