From ee9e52705036d60722edaf7931d4ebd1826df867 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 5 Nov 2024 13:39:28 +0100 Subject: [PATCH] Correct more mistakes in `anime.ts` --- _utils/anime.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_utils/anime.ts b/_utils/anime.ts index cc7868d..581766b 100644 --- a/_utils/anime.ts +++ b/_utils/anime.ts @@ -12,7 +12,7 @@ export interface AnimeData extends ReviewData { mastered_on?: Date; } -export type AnimePage = Lume.Page; +export type AnimePage = Lume.Page; export enum AnimeProgress { Unset = "", @@ -91,6 +91,6 @@ export function animeProgressToNumber(progress?: AnimeProgress): number { } } -export function compareAnimeProgress(a: GameData, b: GameData): number { +export function compareAnimeProgress(a: AnimeData, b: AnimeData): number { return animeProgressToNumber(a.progress) - animeProgressToNumber(b.progress); }