Fix typescript types
This commit is contained in:
parent
3b7c92fd9e
commit
0ae4e7b11d
8 changed files with 44 additions and 41 deletions
|
@ -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) => {
|
||||
|
|
|
@ -29,7 +29,7 @@ import { setHasDiff } from "../../../utils/sets";
|
|||
* + All DMs
|
||||
*/
|
||||
export class SpaceFilterCondition extends EventEmitter implements IFilterCondition, IDestroyable {
|
||||
private roomIds = new Set<Room>();
|
||||
private roomIds = new Set<string>();
|
||||
private space: Room = null;
|
||||
|
||||
public get kind(): FilterKind {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue