diff options
| author | Ritesh Ghosh <[email protected]> | 2023-11-22 13:56:43 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-11-22 13:56:43 +0530 |
| commit | 087c1bada118abf4de00d0ba104f863c350856e5 (patch) | |
| tree | 5eed01df94162983cbf165410153709edf34f8fe /src | |
| parent | 03b3550b49fa0e0038c7d7d8c84f1bb3acc33bb6 (diff) | |
| download | aniwatch-api-087c1bada118abf4de00d0ba104f863c350856e5.tar.xz aniwatch-api-087c1bada118abf4de00d0ba104f863c350856e5.zip | |
fix(ts): add strict file & type imports
Diffstat (limited to 'src')
| -rw-r--r-- | src/extractors/streamsb.ts | 4 | ||||
| -rw-r--r-- | src/extractors/streamtape.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/extractors/streamsb.ts b/src/extractors/streamsb.ts index 3e70b3e..39660e6 100644 --- a/src/extractors/streamsb.ts +++ b/src/extractors/streamsb.ts @@ -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"; diff --git a/src/extractors/streamtape.ts b/src/extractors/streamtape.ts index 4b770d0..a6f796c 100644 --- a/src/extractors/streamtape.ts +++ b/src/extractors/streamtape.ts @@ -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"; |
