mirror of
https://github.com/starshardstudio/peafowl.git
synced 2024-11-23 13:34:20 +00:00
Correct more mistakes in anime.ts
This commit is contained in:
parent
dca878308d
commit
ee9e527050
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ export interface AnimeData extends ReviewData {
|
|||
mastered_on?: Date;
|
||||
}
|
||||
|
||||
export type AnimePage = Lume.Page<GameData>;
|
||||
export type AnimePage = Lume.Page<AnimeData>;
|
||||
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue