aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-11-22 13:48:06 +0530
committerRitesh Ghosh <[email protected]>2023-11-22 13:48:06 +0530
commit3a414555f2e05c82248b70633b9377b18dbd9e61 (patch)
tree72e46e1bff411403793ab61b8b760d33ebf4a120 /src
parentbee44369f1cd5c0aa84c16a6320e146c171afb16 (diff)
downloadaniwatch-api-3a414555f2e05c82248b70633b9377b18dbd9e61.tar.xz
aniwatch-api-3a414555f2e05c82248b70633b9377b18dbd9e61.zip
fix(ts): add strict file & type imports
Diffstat (limited to 'src')
-rw-r--r--src/routes/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/index.ts b/src/routes/index.ts
index d296325..e3f6d8e 100644
--- a/src/routes/index.ts
+++ b/src/routes/index.ts
@@ -1,4 +1,4 @@
-import { Router, IRouter } from "express";
+import { Router, type IRouter } from "express";
import {
getGenreAnime,
getAnimeSearch,
@@ -10,7 +10,7 @@ import {
getAnimeAboutInfo,
getAnimeEpisodeSources,
getAnimeSearchSuggestion,
-} from "../controllers";
+} from "../controllers/index.js";
const router: IRouter = Router();