diff options
| author | Ritesh Ghosh <[email protected]> | 2023-11-22 13:48:06 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-11-22 13:48:06 +0530 |
| commit | 3a414555f2e05c82248b70633b9377b18dbd9e61 (patch) | |
| tree | 72e46e1bff411403793ab61b8b760d33ebf4a120 /src | |
| parent | bee44369f1cd5c0aa84c16a6320e146c171afb16 (diff) | |
| download | aniwatch-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.ts | 4 |
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(); |
