From ccad936161c875e6954fd91a128da42e4777db78 Mon Sep 17 00:00:00 2001 From: ThatXliner Date: Tue, 30 Jul 2024 12:04:04 -0700 Subject: [PATCH] Better types --- src/routes/room/[room=uuid]/ViewSchedule.svelte | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/routes/room/[room=uuid]/ViewSchedule.svelte b/src/routes/room/[room=uuid]/ViewSchedule.svelte index 8a91c6d..cacb4c0 100644 --- a/src/routes/room/[room=uuid]/ViewSchedule.svelte +++ b/src/routes/room/[room=uuid]/ViewSchedule.svelte @@ -2,9 +2,9 @@ import { isEqual } from 'lodash-es'; import ScheduleDisplay from './ScheduleDisplay.svelte'; import type { Schedule, Class } from '$lib/InfoInput'; - import type { You } from './ViewSchedules'; + import type { ResolvedYou } from './ViewSchedules'; export let schedule: Schedule; - export let you: You; + export let you: ResolvedYou; export let getClass: (id: string) => Promise; @@ -21,9 +21,7 @@