From ded31eeaeed60bb67213dae6a66531e5d57674e4 Mon Sep 17 00:00:00 2001 From: rhysd Date: Wed, 29 Jul 2015 15:09:39 +0900 Subject: [PATCH] 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 --- node/node.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/node/node.d.ts b/node/node.d.ts index 75c33c388c..dfa8c9665f 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -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?: {