Typescript updates (#9658)
* Typescript updates * Update @types/node * Fix more types
This commit is contained in:
parent
baaa9f5dd2
commit
d258402186
59 changed files with 86 additions and 90 deletions
|
@ -97,7 +97,7 @@ export async function waitForMember(client: MatrixClient, roomId: string, userId
|
|||
|
||||
/* We don't want to hang if this goes wrong, so we proceed and hope the other
|
||||
user is already in the megolm session */
|
||||
setTimeout(resolve, timeout, false);
|
||||
window.setTimeout(resolve, timeout, false);
|
||||
}).finally(() => {
|
||||
client.removeListener(RoomStateEvent.NewMember, handler);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue