aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-11-22 13:49:42 +0530
committerRitesh Ghosh <[email protected]>2023-11-22 13:49:42 +0530
commita7681655aa65c1248dabb85e24ef2421ab39fd62 (patch)
treeb08f12e2a72a32545dfb800dcb8722c51ec4a6a6 /src/utils
parent2cb44a6c7515d3fa4a7c753f4135b961145021d5 (diff)
downloadaniwatch-api-a7681655aa65c1248dabb85e24ef2421ab39fd62.tar.xz
aniwatch-api-a7681655aa65c1248dabb85e24ef2421ab39fd62.zip
fix(ts): add strict file & type imports
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/methods.ts8
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,