"fix" type for members in SetRightPanelPhasePayload

This commit is contained in:
Swapnil Raj 2020-07-18 22:45:22 +05:30
parent dac19cffce
commit 2f0caab851

View file

@ -14,7 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
import {VerificationRequest} from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest"; 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 { RightPanelPhases } from "../../stores/RightPanelStorePhases";
import { ActionPayload } from "../payloads"; import { ActionPayload } from "../payloads";
import { Action } from "../actions"; import { Action } from "../actions";
@ -29,7 +30,7 @@ export interface SetRightPanelPhasePayload extends ActionPayload {
export interface SetRightPanelPhaseRefireParams { export interface SetRightPanelPhaseRefireParams {
// XXX: Fix after the types are defiend in matrix-js-sdk // XXX: Fix after the types are defiend in matrix-js-sdk
// No appropriate types exist yet for the fields // No appropriate types exist yet for the fields
members?: any; members?: RoomMember;
verificationRequest?: typeof VerificationRequest; verificationRequest?: typeof VerificationRequest;
groupId?: string; groupId?: string;
groupRoomId?: string; groupRoomId?: string;