Skip to content

Commit 600fdc8

Browse files
committed
test(prefer-let): correct tests & typo
1 parent 95872f9 commit 600fdc8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script>
2-
const { prop } = $props();
3-
const state = $state();
4-
const raw = $state.raw();
5-
const derived = $derived(state + 1);
6-
const derivedBy = $derived.by(() => prop + state);
2+
let { prop } = $props();
3+
let state = $state();
4+
let raw = $state.raw();
5+
let derived = $derived(state + 1);
6+
let derivedBy = $derived.by(() => prop + state);
77
</script>

0 commit comments

Comments
 (0)