mirror of
https://github.com/zoriya/vex.git
synced 2026-08-16 02:44:55 +00:00
Added svelte typescript
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
let count: number = 0
|
||||
const increment = () => {
|
||||
count += 1
|
||||
}
|
||||
</script>
|
||||
|
||||
<button on:click={increment}>
|
||||
count is {count}
|
||||
</button>
|
||||
Reference in New Issue
Block a user