@types/ps-tree
Version:
TypeScript definitions for ps-tree
19 lines (15 loc) • 350 B
TypeScript
declare namespace ps_tree {
interface PS {
COMMAND: string;
PPID: string;
PID: string;
STAT: string;
}
const prototype: {};
}
declare function ps_tree(
pid: number,
callback: (error: Error | null, children: readonly ps_tree.PS[]) => void,
): void;
export as namespace ps_tree;
export = ps_tree;