fix(ts): add strict file & type imports

This commit is contained in:
Ritesh Ghosh
2023-11-22 13:56:16 +05:30
parent 5d2b27270c
commit 03b3550b49
10 changed files with 56 additions and 64 deletions
+8 -9
View File
@@ -1,16 +1,15 @@
import {
SRC_BASE_URL,
SRC_AJAX_URL,
USER_AGENT_HEADER,
SRC_BASE_URL,
retrieveServerId,
} from "../utils";
USER_AGENT_HEADER,
} from "../utils/index.js";
import axios, { AxiosError } from "axios";
import { load, CheerioAPI } from "cheerio";
import { AnimeServers, Servers } from "../models/anime";
import createHttpError, { HttpError } from "http-errors";
import { ScrapedAnimeEpisodesSources } from "../models/parsers";
import { RapidCloud, StreamSB, StreamTape } from "../extractors";
import { load, type CheerioAPI } from "cheerio";
import createHttpError, { type HttpError } from "http-errors";
import { type AnimeServers, Servers } from "../models/anime.js";
import { RapidCloud, StreamSB, StreamTape } from "../extractors/index.js";
import { type ScrapedAnimeEpisodesSources } from "../models/parsers/index.js";
// vidtreaming -> 4
// rapidcloud -> 1