mirror of https://github.com/sveltejs/svelte
insert semicolon where necessary when initing props - fixes #2037
parent
df318d2976
commit
0f7ae264e4
@ -0,0 +1,7 @@
|
|||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
name: 'world'
|
||||||
|
},
|
||||||
|
|
||||||
|
html: `<h1>Hello world!</h1>`
|
||||||
|
};
|
@ -0,0 +1,6 @@
|
|||||||
|
<h1>Hello {name}!</h1>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export let name
|
||||||
|
(() => {})()
|
||||||
|
</script>
|
Loading…
Reference in new issue