fix(ts): add strict file & type imports

This commit is contained in:
Ritesh Ghosh
2023-11-22 13:49:42 +05:30
parent 2cb44a6c75
commit a7681655aa
+4 -4
View File
@@ -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,