improve typings

This commit is contained in:
vcoppe committed 2026-10-31 17:47:26 +01:00
1 parent 46563ef283
commit 972510bfbc
10 files changed
+275 -71

No files matched your search

@@ -7,8 +7,12 @@
import { getURLForLanguage } from '$lib/utils';
import { ChevronLeft, ChevronRight, PenLine, CornerDownRight } from '@lucide/svelte';
import { i18n } from '$lib/i18n/i18n.svelte';
import type { Component } from 'svelte';
let { data }: { data: { guideModule: any; guideTitles: Record<string, string> } } = $props();
let {
data,
}: { data: { guideModule: { default: Component }; guideTitles: Record<string, string> } } =
$props();
let previousGuide = $derived(getPreviousGuide(page.params.guide ?? ''));
let nextGuide = $derived(getNextGuide(page.params.guide ?? ''));