Give singletonRoomViewStore a type

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-17 15:20:46 +02:00
parent 2a7787e12d
commit c9a11af26b
No known key found for this signature in database
GPG Key ID: CC823428E9B582FB

View File

@ -429,7 +429,7 @@ class RoomViewStore extends Store<ActionPayload> {
}
}
let singletonRoomViewStore = null;
let singletonRoomViewStore: RoomViewStore = null;
if (!singletonRoomViewStore) {
singletonRoomViewStore = new RoomViewStore();
}