mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-01 12:17:18 +00:00
improve typings
This commit is contained in:
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 ?? ''));
|
||||
|
||||
Reference in new issue
Block a user