fix(ts): add strict file & type imports

This commit is contained in:
Ritesh Ghosh
2023-11-22 13:56:43 +05:30
parent 03b3550b49
commit 087c1bada1
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import axios from "axios";
import { Video } from "../models/extractor";
import { USER_AGENT_HEADER } from "../utils";
import type { Video } from "../models/extractor.js";
import { USER_AGENT_HEADER } from "../utils/index.js";
class StreamSB {
private serverName = "streamSB";
+2 -2
View File
@@ -1,6 +1,6 @@
import axios from "axios";
import { load, CheerioAPI } from "cheerio";
import { Video } from "../models/extractor";
import { load, type CheerioAPI } from "cheerio";
import type { Video } from "../models/extractor.js";
class StreamTape {
private serverName = "StreamTape";