Properly marked exported classes to fix JSDoc

This commit is contained in:
rainbow napkin 2025-09-02 07:32:51 -04:00
parent 7d31cc9e8a
commit 514b00a714
67 changed files with 23032 additions and 29404 deletions

View file

@ -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;