mirror of https://github.com/sveltejs/svelte
parent
62c39ee851
commit
6ea89a3f7e
@ -0,0 +1,8 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
error: {
|
||||
code: 'invalid-rune-args-length',
|
||||
message: '$bindable can only be called with 0 or 1 arguments'
|
||||
}
|
||||
});
|
||||
@ -0,0 +1,3 @@
|
||||
<script>
|
||||
const { foo = $bindable(1, 2) } = $props();
|
||||
</script>
|
||||
Loading…
Reference in new issue