diff --git a/node/node.d.ts b/node/node.d.ts index 731b136585..c7df8463b3 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -749,7 +749,7 @@ declare module "cluster" { id: string; process: child.ChildProcess; suicide: boolean; - send(message: any, sendHandle?: any): void; + send(message: any, sendHandle?: any): boolean; kill(signal?: string): void; destroy(signal?: string): void; disconnect(): void; @@ -1071,7 +1071,7 @@ declare module "child_process" { stdio: [stream.Writable, stream.Readable, stream.Readable]; pid: number; kill(signal?: string): void; - send(message: any, sendHandle?: any): void; + send(message: any, sendHandle?: any): boolean; connected: boolean; disconnect(): void; unref(): void; @@ -2628,4 +2628,4 @@ declare module "constants" { declare module "process" { export = process; -} \ No newline at end of file +}