pull/21833/head
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; onClose: () => void;
isRoomEncrypted: boolean; isRoomEncrypted: boolean;
inDialog: boolean; inDialog: boolean;
key: any; key: number;
} }
interface IState { interface IState {

View File

@ -24,16 +24,14 @@ export interface SetRightPanelPhasePayload extends ActionPayload {
action: Action.SetRightPanelPhase; action: Action.SetRightPanelPhase;
phase: RightPanelPhases; phase: RightPanelPhases;
refireParams?: SetRightPanelPhaseRefireParams; refireParams: SetRightPanelPhaseRefireParams;
} }
export interface 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; member?: RoomMember;
verificationRequest?: typeof VerificationRequest; verificationRequest?: VerificationRequest;
groupId?: string; groupId?: string;
groupRoomId?: string; groupRoomId?: string;
// XXX: 'view_3pid_invite' action's payload // XXX: The type for event should 'view_3pid_invite' action's payload
event?: any; event?: any;
} }