mirror of https://github.com/sveltejs/svelte
parent
e66416bec7
commit
bbcb7cf3d9
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: improve prop binding warning heuristics
|
||||
@ -0,0 +1,11 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
mode: ['client'],
|
||||
compileOptions: {
|
||||
dev: true
|
||||
},
|
||||
async test({ warnings, assert }) {
|
||||
assert.deepEqual(warnings, []);
|
||||
}
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
let arr = $state({});
|
||||
</script>
|
||||
|
||||
<svelte:component this={undefined} bind:this={arr} />
|
||||
Loading…
Reference in new issue