Add ref to ChildProcess (#10189)

It is the opposite of `unref` - it allows you to regain the reference that `unref` releases.
This commit is contained in:
Wesley Wigham
2016-07-19 23:57:09 -07:00
committed by Mohamed Hegazy
parent 5cf1435509
commit 005ea0faff

1
node/node.d.ts vendored
View File

@@ -1056,6 +1056,7 @@ declare module "child_process" {
connected: boolean;
disconnect(): void;
unref(): void;
ref(): void;
}
export interface SpawnOptions {