refactor: improve type definitions for selectedCharacter and selectedCharacters in WinPanel component

This commit is contained in:
2026-03-14 17:22:38 +01:00
parent eeccf812cf
commit fd83ac911a
2 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
<script lang="ts">
export let yesterdayCharacter: any;
import type { CharacterWithRelations } from "$lib/server/daily-character";
export let yesterdayCharacter: CharacterWithRelations | null;
</script>
<section class="mt-8 rounded-3xl border border-white/10 bg-white/5 p-6 shadow-[0_24px_60px_rgba(0,0,0,0.45)] backdrop-blur">