Added svelte typescript

This commit is contained in:
Clément Le Bihan
2024-05-03 22:39:01 +02:00
parent 23a25bc383
commit 78bc6c7147
18 changed files with 2113 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<script lang="ts">
let count: number = 0
const increment = () => {
count += 1
}
</script>
<button on:click={increment}>
count is {count}
</button>