Skip to content

Commit 36d8d54

Browse files
fix(voice-call): type ngrok process with ignored stdin
1 parent f4c8f9f commit 36d8d54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎extensions/voice-call/src/tunnel.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Voice Call plugin module implements tunnel behavior.
2-
import { spawn, type ChildProcessWithoutNullStreams } from "node:child_process";
2+
import { spawn, type ChildProcess, type ChildProcessWithoutNullStreams } from "node:child_process";
33
import { runCommandWithTimeout } from "openclaw/plugin-sdk/process-runtime";
44
import { sliceUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
55
import {
@@ -17,7 +17,7 @@ const NGROK_STOP_GRACE_MS = 2_000;
1717
const NGROK_FORCE_KILL_WAIT_MS = 1_000;
1818

1919
async function terminateNgrokProcess(
20-
proc: Pick<ChildProcessWithoutNullStreams, "kill" | "once" | "off">,
20+
proc: Pick<ChildProcess, "kill" | "once" | "off">,
2121
isClosed: () => boolean,
2222
): Promise<void> {
2323
if (isClosed()) {

0 commit comments

Comments
 (0)