fix(ts): add strict file & type imports
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user