fix(ts): add strict file & type imports
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
import { CheerioAPI, SelectorType } from "cheerio";
|
import type {
|
||||||
import createHttpError, { HttpError } from "http-errors";
|
|
||||||
import {
|
|
||||||
Anime,
|
Anime,
|
||||||
Top10Anime,
|
Top10Anime,
|
||||||
MostPopularAnime,
|
MostPopularAnime,
|
||||||
Top10AnimeTimePeriod,
|
Top10AnimeTimePeriod,
|
||||||
} from "../models/anime";
|
} from "../models/anime.js";
|
||||||
|
import type { CheerioAPI, SelectorType } from "cheerio";
|
||||||
|
import createHttpError, { HttpError } from "http-errors";
|
||||||
|
|
||||||
export const extractAnimes = (
|
export const extractAnimes = (
|
||||||
$: CheerioAPI,
|
$: CheerioAPI,
|
||||||
|
|||||||
Reference in New Issue
Block a user