We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d11b56 commit e13c7d9Copy full SHA for e13c7d9
packages/svelte/tests/snapshot/samples/state-in-return/index.svelte.js
@@ -1,8 +1,8 @@
1
export default function proxy(object) {
2
- return $state(object);
+ return $state(object);
3
}
4
export function createCounter() {
5
- let count = $state(0);
6
- count++;
+ let count = $state(0);
+ count++;
7
8
-export const proxy_in_arrow = object => $state(object);
+export const proxy_in_arrow = (object) => $state(object);
0 commit comments