From 6dd893b894b275b594c1c17c3d6d0b7cfb8c98f4 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 1 Sep 2023 00:21:25 -0700
Subject: format: add types

---
 src/lib/List/UpcomingAnimeList.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/List/UpcomingAnimeList.svelte')

diff --git a/src/lib/List/UpcomingAnimeList.svelte b/src/lib/List/UpcomingAnimeList.svelte
index 01e5874c..0d7115c9 100644
--- a/src/lib/List/UpcomingAnimeList.svelte
+++ b/src/lib/List/UpcomingAnimeList.svelte
@@ -9,7 +9,7 @@
 	export let identity: UserIdentity;
 	export let displayUnresolved: boolean;
 
-	let animeLists: any;
+	let animeLists: Promise<{ entries: { media: Media }[] }[]>;
 	let startTime: number;
 	let endTime: number;
 
@@ -18,7 +18,7 @@
 		animeLists = mediaListCollection(user, identity, Type.Anime, $anime, $animeLastPrune);
 	});
 
-	const cleanMedia = (media: object[][], displayUnresolved: boolean) => {
+	const cleanMedia = (media: { entries: { media: Media }[] }[], displayUnresolved: boolean) => {
 		if (media === undefined) {
 			return [];
 		}
-- 
cgit v1.2.3

