fix return type (#42770)

This commit is contained in:
Huan (李卓桓)
2020-03-03 03:03:14 +08:00
committed by GitHub
parent 6516f91593
commit 39ac1fd3e7

View File

@@ -231,7 +231,7 @@ export class MatrixClient extends EventEmitter {
getIdentityServerUrl(stripProto: boolean): string;
getIgnoredUsers(): string[];
getJoinedGroups(): Promise<object[]>;
getJoinedRoomMembers(roomId: string): Promise<object[]>;
getJoinedRoomMembers(roomId: string): Promise<object>;
getJoinedRooms(): Promise<object[]>;
getKeyBackupEnabled(): boolean;
getKeyBackupVersion(): Promise<null | object>;