source: trip-planner-front/node_modules/tree-kill/index.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 381 bytes
Line 
1/**
2 * Kills process identified by `pid` and all its children
3 *
4 * @param pid
5 * @param signal 'SIGTERM' by default
6 * @param callback
7 */
8declare function treeKill(pid: number, callback?: (error?: Error) => void): void;
9declare function treeKill(pid: number, signal?: string | number, callback?: (error?: Error) => void): void;
10
11declare namespace treeKill {}
12
13export = treeKill;
Note: See TracBrowser for help on using the repository browser.