diff options
| author | Ritesh Ghosh <[email protected]> | 2023-08-03 23:17:57 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-08-03 23:17:57 +0530 |
| commit | 999193e27aedb4a10263ac2fea197ae6827d6160 (patch) | |
| tree | 6b9b05fa8aa11848a4f4bb5d249984525f5b17cf /src | |
| parent | 904f87aa0fd81d18cb5835b1c0e2cea8ada2b19e (diff) | |
| download | aniwatch-api-999193e27aedb4a10263ac2fea197ae6827d6160.tar.xz aniwatch-api-999193e27aedb4a10263ac2fea197ae6827d6160.zip | |
refactor(MostPopularAnime): updated `MostPopularAnime` type
Diffstat (limited to 'src')
| -rw-r--r-- | src/models/anime.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/anime.ts b/src/models/anime.ts index 65c2b54..23adda0 100644 --- a/src/models/anime.ts +++ b/src/models/anime.ts @@ -19,9 +19,9 @@ export interface Top10Anime extends Pick<Anime, CommonAnimeProps | "episodes"> { export type Top10AnimeTimePeriod = "day" | "week" | "month"; -export interface MostPopularAnime extends Pick<Anime, CommonAnimeProps> { +export interface MostPopularAnime + extends Pick<Anime, CommonAnimeProps | "episodes" | "type"> { jname: string | null; - otherInfo: string[]; } export interface SpotlightAnime |
