mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
worker.id is number, not string
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user