2025-01-16 08:28:46 +00:00
|
|
|
import { ChildProcess } from "child_process";
|
2025-01-16 05:22:33 +00:00
|
|
|
/**
|
|
|
|
* ## Kill Child Process Function
|
|
|
|
* @param {string | number | (string | number)[]} [port]
|
|
|
|
* @returns {Promise<boolean>}
|
|
|
|
*/
|
2025-01-16 08:28:46 +00:00
|
|
|
export default function killChild(childProcess?: ChildProcess, port?: string | number | (string | number)[]): Promise<boolean>;
|