fix(+page.svelte): add type annotation for typeOptions array for better type safety

This commit is contained in:
Sam Chau
2025-11-05 21:44:51 +10:30
parent 4ce966a41d
commit 92035e8fc5

View File

@@ -7,7 +7,7 @@
let showInfoModal = false;
const typeOptions = [
const typeOptions: Array<{ value: 'simple' | 'must' | 'only' | 'not'; label: string }> = [
{ value: 'simple', label: 'Preferred' },
{ value: 'must', label: 'Must Include' },
{ value: 'only', label: 'Must Only Be' },