doc: fixed worker.id type
[platform/upstream/nodejs.git] / doc / api / cluster.markdown
index 13ac19e..a40e4e7 100644 (file)
@@ -384,7 +384,7 @@ it can be obtained using `cluster.worker`.
 
 ### worker.id
 
-* {String}
+* {Number}
 
 Each new worker is given its own unique id, this id is stored in the
 `id`.