mirror of https://github.com/sveltejs/svelte
add destructuring-between-exports test against regression (#3628)
parent
6a5efd1066
commit
93b10089a7
@ -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