revert(parserTypes): refactored parser types

This commit is contained in:
Ritesh Ghosh
2023-08-07 14:55:25 +05:30
parent 10e46b1002
commit 8a5884b752
6 changed files with 88 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { HttpError } from "http-errors";
import { MostPopularAnime } from "../anime";
import { ScrapedAnimeCategory, CommonAnimeScrapeTypes } from "./animeCategory";
export interface ScrapedAnimeSearchResult
extends Pick<ScrapedAnimeCategory, CommonAnimeScrapeTypes> {
mostPopularAnimes: Array<MostPopularAnime> | HttpError;
}