Fix typescript types

This commit is contained in:
Michael Telatynski 2021-06-18 16:21:46 +01:00
parent 3b7c92fd9e
commit 0ae4e7b11d
8 changed files with 44 additions and 41 deletions

View file

@ -276,7 +276,7 @@ class RoomViewStore extends Store<ActionPayload> {
const address = this.state.roomAlias || this.state.roomId;
const viaServers = this.state.viaServers || [];
try {
await retry<void, MatrixError>(() => cli.joinRoom(address, {
await retry<any, MatrixError>(() => cli.joinRoom(address, {
viaServers,
...payload.opts,
}), NUM_JOIN_RETRY, (err) => {