phase-6: typescript introduction
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { fmtPE } from '$lib/utils.js';
|
||||
let { ctx } = $props();
|
||||
import type { MarketContext } from '$lib/types.js';
|
||||
let { ctx }: { ctx: MarketContext } = $props();
|
||||
|
||||
// Flat list of chips so the template stays declarative
|
||||
const chips = $derived([
|
||||
|
||||
Reference in New Issue
Block a user