mirror of https://github.com/sveltejs/svelte
remove missing prop warning false positives - fixes #1902
parent
4fbc0c0f52
commit
7440fa54e9
@ -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