From a7681655aa65c1248dabb85e24ef2421ab39fd62 Mon Sep 17 00:00:00 2001 From: Ritesh Ghosh Date: Wed, 22 Nov 2023 13:49:42 +0530 Subject: fix(ts): add strict file & type imports --- src/utils/methods.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils') 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, -- cgit v1.2.3