mirror of https://github.com/sveltejs/svelte
Merge pull request #1907 from sveltejs/gh-1902
remove missing prop warning false positivespull/1910/head
commit
eefe120e70
@ -0,0 +1 @@
|
|||||||
|
<div>{x} {y}</div>
|
@ -0,0 +1,9 @@
|
|||||||
|
export default {
|
||||||
|
compileOptions: {
|
||||||
|
dev: true
|
||||||
|
},
|
||||||
|
|
||||||
|
warnings: [
|
||||||
|
`<Foo$> was created without expected prop 'y'`
|
||||||
|
]
|
||||||
|
};
|
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
import Foo from './Foo.html';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Foo x={undefined}/>
|
Loading…
Reference in new issue