mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Add return type
This commit is contained in:
parent
1898c4892e
commit
67dfbc5e28
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user