doc: mark worker.id as integer in cluster docs

PR-URL: https://github.com/nodejs/node/pull/42684
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Tobias Nießen authored and Michaël Zasso committed 2022-07-31 09:43:43 +02:00
1 parent 7f857d16b8
commit 06f7aeb2d2
1 file changed
+1 -1
+1 -1
View File
@@ -477,7 +477,7 @@ worker.kill();
added: v0.8.0
-->
* {number}
* {integer}
Each new worker is given its own unique id, this id is stored in the
`id`.