Give singletonRoomViewStore a type

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Š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
1 changed files with 1 additions and 1 deletions

View File

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