mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 12:33:17 +08:00
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:
1
node/node.d.ts
vendored
1
node/node.d.ts
vendored
@@ -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?: {
|
||||
|
||||
Reference in New Issue
Block a user