From 67dfbc5e28f51d68939f97e6895b90261d4b32cb Mon Sep 17 00:00:00 2001
From: RMidhunSuresh <hi@midhun.dev>
Date: Mon, 12 Sep 2022 23:48:01 +0530
Subject: [PATCH] Add return type

---
 src/domain/session/JoinRoomViewModel.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/domain/session/JoinRoomViewModel.ts b/src/domain/session/JoinRoomViewModel.ts
index a4be548b..1b7148f9 100644
--- a/src/domain/session/JoinRoomViewModel.ts
+++ b/src/domain/session/JoinRoomViewModel.ts
@@ -33,7 +33,7 @@ export class JoinRoomViewModel extends ViewModel<SegmentType, Options> {
         this._session = options.session;
     }
 
-    async join(roomId: string) {
+    async join(roomId: string): Promise<void> {
         this._error = undefined;
         this._joinInProgress = true;
         this.emitChange("joinInProgress");