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/Due/MangaList.svelte | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'src/lib/List/Due/MangaList.svelte')

diff --git a/src/lib/List/Due/MangaList.svelte b/src/lib/List/Due/MangaList.svelte
index f96c94d6..0fd0cdfe 100644
--- a/src/lib/List/Due/MangaList.svelte
+++ b/src/lib/List/Due/MangaList.svelte
@@ -15,7 +15,7 @@
 	export let identity: UserIdentity;
 	export let displayUnresolved: boolean;
 
-	let mangaLists: any;
+	let mangaLists: Promise<{ entries: { media: Media }[] }[]>;
 	let startTime: number;
 	let endTime: number;
 
@@ -24,7 +24,10 @@
 		mangaLists = mediaListCollection(user, identity, Type.Manga, $manga, $mangaLastPrune);
 	});
 
-	const cleanMedia = async (media: object[][], displayUnresolved: boolean) => {
+	const cleanMedia = async (
+		media: { entries: { media: Media }[] }[],
+		displayUnresolved: boolean
+	) => {
 		if (media === undefined) {
 			return [];
 		}
-- 
cgit v1.2.3

