mirror of https://github.com/sveltejs/svelte
add destructuring-between-exports test against regression (#3628)
parent
33b8eae7ff
commit
bc0d53ce9b
@ -0,0 +1,8 @@
|
|||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
foo: { bar: 42 }
|
||||||
|
},
|
||||||
|
html: `
|
||||||
|
<h1>42</h2>
|
||||||
|
`
|
||||||
|
};
|
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
export let foo;
|
||||||
|
const { bar } = foo;
|
||||||
|
export let baz;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<h1>{bar}</h1>
|
Loading…
Reference in new issue