From ae4c4409166f9266812199f88f3ff9aecf7734ea Mon Sep 17 00:00:00 2001 From: Oz Weiss Date: Thu, 19 Oct 2017 21:32:06 +0300 Subject: [PATCH] worker.id is number, not string --- types/node/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index d8e8fe3358..1795379c71 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -1059,7 +1059,7 @@ declare module "cluster" { } export class Worker extends events.EventEmitter { - id: string; + id: number; process: child.ChildProcess; suicide: boolean; send(message: any, sendHandle?: any, callback?: (error: Error) => void): boolean;