mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-18 12:01:48 +03:00
Cleanup
This commit is contained in:
parent
bf450ad075
commit
aa160095fa
2 changed files with 4 additions and 6 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue