mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
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:
committed by
Mohamed Hegazy
parent
5cf1435509
commit
005ea0faff
1
node/node.d.ts
vendored
1
node/node.d.ts
vendored
@@ -1056,6 +1056,7 @@ declare module "child_process" {
|
||||
connected: boolean;
|
||||
disconnect(): void;
|
||||
unref(): void;
|
||||
ref(): void;
|
||||
}
|
||||
|
||||
export interface SpawnOptions {
|
||||
|
||||
Reference in New Issue
Block a user