"fix" type for members in SetRightPanelPhasePayload

pull/21833/head
Swapnil Raj 2020-07-18 22:45:22 +05:30
parent dac19cffce
commit 2f0caab851
1 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@ limitations under the License.
*/
import { VerificationRequest } from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest";
import { RoomMember } from "matrix-js-sdk/src/models/room-member";
import { RightPanelPhases } from "../../stores/RightPanelStorePhases";
import { ActionPayload } from "../payloads";
import { Action } from "../actions";
@ -29,7 +30,7 @@ export interface SetRightPanelPhasePayload extends ActionPayload {
export interface SetRightPanelPhaseRefireParams {
// XXX: Fix after the types are defiend in matrix-js-sdk
// No appropriate types exist yet for the fields
members?: any;
members?: RoomMember;
verificationRequest?: typeof VerificationRequest;
groupId?: string;
groupRoomId?: string;