Add return type

This commit is contained in:
RMidhunSuresh 2022-09-12 23:48:01 +05:30
parent 1898c4892e
commit 67dfbc5e28
No known key found for this signature in database

View File

@ -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");