fix(ts): add strict file & type imports

This commit is contained in:
Ritesh Ghosh
2023-11-22 13:55:59 +05:30
parent 1f3b98f191
commit 5d2b27270c
10 changed files with 34 additions and 34 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import createHttpError from "http-errors";
import { RequestHandler } from "express";
import { scrapeEpisodeServers } from "../parsers";
import { EpisodeServersQueryParams } from "../models/controllers";
import { type RequestHandler } from "express";
import { scrapeEpisodeServers } from "../parsers/index.js";
import { type EpisodeServersQueryParams } from "../models/controllers/index.js";
// /anime/servers?episodeId=${id}
const getEpisodeServers: RequestHandler<