Fix more type definitions

This commit is contained in:
Michael Telatynski 2021-06-17 14:24:53 +01:00
parent f929d2ee5f
commit 02e72d8b04
11 changed files with 32 additions and 33 deletions

View file

@ -44,7 +44,7 @@ export default class BridgeSettingsTab extends React.Component<IProps> {
return <BridgeTile key={event.getId()} room={room} ev={event} />;
}
static getBridgeStateEvents(roomId: string) {
static getBridgeStateEvents(roomId: string): MatrixEvent[] {
const client = MatrixClientPeg.get();
const roomState = client.getRoom(roomId).currentState;