refactor: improve type definitions for selectedCharacter and selectedCharacters in WinPanel component
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user