mirror of https://github.com/sveltejs/svelte
fix: prevent migration script from adding `props.` to the `export let` identifier (#13899)
parent
3147287813
commit
b63fde3b75
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: prevent migration script from adding `props.` to the `export let` identifier
|
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
export let stuff;
|
||||||
|
|
||||||
|
console.log($$props);
|
||||||
|
</script>
|
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
let { ...props } = $props();
|
||||||
|
|
||||||
|
console.log(props);
|
||||||
|
</script>
|
Loading…
Reference in new issue