fix errors and beautify with use of class

This commit is contained in:
grimhilt committed 2023-05-07 23:42:44 +02:00
1 parent f7c95b3a36
commit ffcfc57bbe
4 files changed
+31 -49

No files matched your search

+2 -3
View File
@@ -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;