8 lines
304 B
TypeScript
8 lines
304 B
TypeScript
import { ChildProcess } from "child_process";
|
|
/**
|
|
* ## Kill Child Process Function
|
|
* @param {string | number | (string | number)[]} [port]
|
|
* @returns {Promise<boolean>}
|
|
*/
|
|
export default function killChild(childProcess?: ChildProcess, port?: string | number | (string | number)[]): Promise<boolean>;
|