Add unref() to child_process.ChildProcess

child_process.ChildProcess.unref() isn't described in document.
But it actually exist and is described in document for `options.detached`.

https://nodejs.org/api/child_process.html#child_process_options_detached
This commit is contained in:
rhysd
2015-07-29 15:09:39 +09:00
parent 855569dbc8
commit ded31eeaee

1
node/node.d.ts vendored
View File

@@ -823,6 +823,7 @@ declare module "child_process" {
kill(signal?: string): void;
send(message: any, sendHandle?: any): void;
disconnect(): void;
unref(): void;
}
export function spawn(command: string, args?: string[], options?: {