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