fix(ts): add strict file & type imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import { Video } from "../models/extractor";
|
import type { Video } from "../models/extractor.js";
|
||||||
import { USER_AGENT_HEADER } from "../utils";
|
import { USER_AGENT_HEADER } from "../utils/index.js";
|
||||||
|
|
||||||
class StreamSB {
|
class StreamSB {
|
||||||
private serverName = "streamSB";
|
private serverName = "streamSB";
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import { load, CheerioAPI } from "cheerio";
|
import { load, type CheerioAPI } from "cheerio";
|
||||||
import { Video } from "../models/extractor";
|
import type { Video } from "../models/extractor.js";
|
||||||
|
|
||||||
class StreamTape {
|
class StreamTape {
|
||||||
private serverName = "StreamTape";
|
private serverName = "StreamTape";
|
||||||
|
|||||||
Reference in New Issue
Block a user