aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-11-22 13:46:31 +0530
committerRitesh Ghosh <[email protected]>2023-11-22 13:46:31 +0530
commitcbfba10a56b62eb80e005080578137a6563d4086 (patch)
tree1ee8b750e03d9bdd1a0695f85163b2224e85efb8 /src
parentf9646c2bf8cea3c03214a7c926de776b9ab8f76d (diff)
downloadaniwatch-api-cbfba10a56b62eb80e005080578137a6563d4086.tar.xz
aniwatch-api-cbfba10a56b62eb80e005080578137a6563d4086.zip
fix(ts): add strict file imports
Diffstat (limited to 'src')
-rw-r--r--src/models/controllers/index.ts27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/models/controllers/index.ts b/src/models/controllers/index.ts
index c9708e9..df9beff 100644
--- a/src/models/controllers/index.ts
+++ b/src/models/controllers/index.ts
@@ -1,20 +1,23 @@
-import {
+import type {
+ GenreAnimePathParams,
+ GenreAnimeQueryParams,
+} from "./animeGenre.js";
+import type {
CategoryAnimePathParams,
CategoryAnimeQueryParams,
-} from "./animeCategory";
-import {
+} from "./animeCategory.js";
+import type {
AnimeProducerPathParams,
AnimeProducerQueryParams,
-} from "./animeProducer";
-import { AnimeSearchQueryParams } from "./animeSearch";
-import { AnimeEpisodePathParams } from "./animeEpisodes";
-import { EpisodeServersQueryParams } from "./episodeServers";
-import { AnimeAboutInfoQueryParams } from "./animeAboutInfo";
-import { AnimeEpisodeSrcsQueryParams } from "./animeEpisodeSrcs";
-import { AnimeSearchSuggestQueryParams } from "./animeSearchSuggestion";
-import { GenreAnimePathParams, GenreAnimeQueryParams } from "./animeGenre";
+} from "./animeProducer.js";
+import type { AnimeSearchQueryParams } from "./animeSearch.js";
+import type { AnimeEpisodePathParams } from "./animeEpisodes.js";
+import type { EpisodeServersQueryParams } from "./episodeServers.js";
+import type { AnimeAboutInfoQueryParams } from "./animeAboutInfo.js";
+import type { AnimeEpisodeSrcsQueryParams } from "./animeEpisodeSrcs.js";
+import type { AnimeSearchSuggestQueryParams } from "./animeSearchSuggestion.js";
-export {
+export type {
GenreAnimePathParams,
GenreAnimeQueryParams,
AnimeSearchQueryParams,