Skip to content

Commit f18d155

Browse files
committed
add more rune ts tests
1 parent 658dee1 commit f18d155

23 files changed

+19057
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script lang="ts">
2+
let count = $state(0);
3+
const doubled = $derived(count * 2);
4+
</script>
5+
6+
<button on:click="{() => count++}">
7+
{doubled}
8+
</button>
9+
10+
<p>{count} doubled is {doubled}</p>

0 commit comments

Comments
 (0)