fix errors and beautify with use of class
This commit is contained in:
@@ -2,9 +2,8 @@ import { deleteRoom, getRoomNbMessageAndThread, getRoomOnMessageId } from "../..
|
||||
|
||||
export default class Room {
|
||||
private _roomId: number;
|
||||
constructor() {
|
||||
this._roomId;
|
||||
}
|
||||
|
||||
constructor() {}
|
||||
|
||||
setRoomId(roomId: number): Room {
|
||||
this._roomId = roomId;
|
||||
|
||||
Reference in New Issue
Block a user