mirror of https://github.com/sveltejs/svelte
parent
7c215bf249
commit
ec77f8bdf1
@ -0,0 +1,14 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "rune_invalid_options",
|
||||||
|
"end": {
|
||||||
|
"column": 29,
|
||||||
|
"line": 3
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"column": 22,
|
||||||
|
"line": 3
|
||||||
|
},
|
||||||
|
"message": "Options for `$state` needs to be declared inline"
|
||||||
|
}
|
||||||
|
]
|
@ -0,0 +1,4 @@
|
|||||||
|
<script>
|
||||||
|
let options = {};
|
||||||
|
let test = $state(0, options);
|
||||||
|
</script>
|
Loading…
Reference in new issue