diff options
| author | Ritesh Ghosh <[email protected]> | 2023-11-22 13:49:42 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-11-22 13:49:42 +0530 |
| commit | a7681655aa65c1248dabb85e24ef2421ab39fd62 (patch) | |
| tree | b08f12e2a72a32545dfb800dcb8722c51ec4a6a6 /src/utils/methods.ts | |
| parent | 2cb44a6c7515d3fa4a7c753f4135b961145021d5 (diff) | |
| download | aniwatch-api-a7681655aa65c1248dabb85e24ef2421ab39fd62.tar.xz aniwatch-api-a7681655aa65c1248dabb85e24ef2421ab39fd62.zip | |
fix(ts): add strict file & type imports
Diffstat (limited to 'src/utils/methods.ts')
| -rw-r--r-- | src/utils/methods.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/methods.ts b/src/utils/methods.ts index 04be65c..17ad055 100644 --- a/src/utils/methods.ts +++ b/src/utils/methods.ts @@ -1,11 +1,11 @@ -import { CheerioAPI, SelectorType } from "cheerio"; -import createHttpError, { HttpError } from "http-errors"; -import { +import type { Anime, Top10Anime, MostPopularAnime, Top10AnimeTimePeriod, -} from "../models/anime"; +} from "../models/anime.js"; +import type { CheerioAPI, SelectorType } from "cheerio"; +import createHttpError, { HttpError } from "http-errors"; export const extractAnimes = ( $: CheerioAPI, |
