This commit is contained in:
Swapnil Raj 2020-07-29 17:26:51 +05:30
parent bf450ad075
commit aa160095fa
2 changed files with 4 additions and 6 deletions

View File

@ -57,7 +57,7 @@ interface IProps {
onClose: () => void;
isRoomEncrypted: boolean;
inDialog: boolean;
key: any;
key: number;
}
interface IState {

View File

@ -24,16 +24,14 @@ export interface SetRightPanelPhasePayload extends ActionPayload {
action: Action.SetRightPanelPhase;
phase: RightPanelPhases;
refireParams?: SetRightPanelPhaseRefireParams;
refireParams: SetRightPanelPhaseRefireParams;
}
export interface SetRightPanelPhaseRefireParams {
// XXX: Fix after the types are defiend in matrix-js-sdk
// No appropriate types exist yet for the fields
member?: RoomMember;
verificationRequest?: typeof VerificationRequest;
verificationRequest?: VerificationRequest;
groupId?: string;
groupRoomId?: string;
// XXX: 'view_3pid_invite' action's payload
// XXX: The type for event should 'view_3pid_invite' action's payload
event?: any;
}