docs: undocument private constructors (#6732)

This commit is contained in:
SpaceEEC
2021-10-03 15:02:11 +02:00
committed by GitHub
parent a8e60105fb
commit 34b2ad0d8e
27 changed files with 105 additions and 275 deletions

View File

@@ -14,10 +14,6 @@ let Worker = null;
* @extends EventEmitter
*/
class Shard extends EventEmitter {
/**
* @param {ShardingManager} manager Manager that is creating this shard
* @param {number} id The shard's id
*/
constructor(manager, id) {
super();

View File

@@ -9,10 +9,6 @@ const Util = require('../util/Util');
* Utilises IPC to send and receive data to/from the master process and other shards.
*/
class ShardClientUtil {
/**
* @param {Client} client Client of the current shard
* @param {ShardingManagerMode} mode Mode the shard was spawned with
*/
constructor(client, mode) {
/**
* Client for the shard