Skip to content

Commit 537757d

Browse files
committed
fix more type imports
1 parent 4416766 commit 537757d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/util/screencaster.ts

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
import ws, { WebSocket } from "ws";
2-
import http, { IncomingMessage, type Server, ServerResponse } from "http";
1+
import ws, { type WebSocket } from "ws";
2+
import http, {
3+
type IncomingMessage,
4+
type Server,
5+
type ServerResponse,
6+
} from "http";
37
import url from "url";
48
import fs from "fs";
59

610
import { initRedis } from "./redis.js";
711
import { logger } from "./logger.js";
8-
import { Duplex } from "stream";
9-
import { CDPSession, Page } from "puppeteer-core";
10-
import { WorkerId } from "./state.js";
11-
import Redis from "ioredis";
12+
import { type Duplex } from "stream";
13+
import { type CDPSession, type Page } from "puppeteer-core";
14+
import { type WorkerId } from "./state.js";
15+
import type Redis from "ioredis";
1216

1317
const indexHTML = fs.readFileSync(
1418
new URL("../../html/screencast.html", import.meta.url),

0 commit comments

Comments
 (0)