mirror of https://github.com/sveltejs/svelte
Merge pull request #2045 from sveltejs/gh-2037
insert semicolon where necessary when initing propspull/2058/head
commit
11969cdfe7
@ -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