we don't need a whole new test for this

pull/11905/head
Rich Harris 2 years ago
parent 0a58b15b6a
commit 7a12442c14

@ -1,9 +0,0 @@
<script lang="ts">
let count = $state(0);
export { count };
</script>
<button onclick={() => (count += 1)}>
{count}
</button>

@ -12,9 +12,11 @@
obj.a++;
obj.a = 1;
// @ts-ignore
let typed: {count: number} | null = null;
let typed: { count: number } | null = null;
export { count };
</script>
<button onclick={() => count += 1}>
<button onclick={() => (count += 1)}>
clicks: {count}
</button>

Loading…
Cancel
Save