test(cli-runtime): satisfy no-explicit-any lint rule

This commit is contained in:
Chirag Singhal
2026-11-18 10:26:40 +00:00
parent 93327176d3
commit ef02c75394

View File

@@ -34,7 +34,11 @@ test("#20486: claude healthcheck accepts a version probe slower than the old 4s
// A version answer after 5.1s: past the previous 4s default, inside the
// 15s limit introduced by this PR.
childProcess.spawn = () => {
const child: any = new EventEmitter();
const child = new EventEmitter() as EventEmitter & {
stdout: EventEmitter;
stderr: EventEmitter;
kill: () => boolean;
};
child.stdout = new EventEmitter();
child.stderr = new EventEmitter();
child.kill = () => true;