Properly marked exported classes to fix JSDoc
This commit is contained in:
parent
7d31cc9e8a
commit
514b00a714
67 changed files with 23032 additions and 29404 deletions
|
|
@ -25,7 +25,7 @@ const { userModel } = require('../../schemas/user/userSchema');
|
|||
/**
|
||||
* Class representing a single user connected to a channel
|
||||
*/
|
||||
module.exports = class{
|
||||
class connectedUser{
|
||||
/**
|
||||
* Instantiates a connectedUser object
|
||||
* @param {Mongoose.Document} userDB - User document to re-hydrate user from
|
||||
|
|
@ -288,4 +288,6 @@ module.exports = class{
|
|||
this.channel.broadcastUserList();
|
||||
this.sendClientMetadata();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = connectedUser;
|
||||
Loading…
Add table
Add a link
Reference in a new issue