fixup types
This commit is contained in:
@@ -5,7 +5,6 @@ import type { EventStatus, IEventRelation, Membership } from "matrix-js-sdk";
|
|||||||
* @beta
|
* @beta
|
||||||
*/
|
*/
|
||||||
export interface MatrixEvent {
|
export interface MatrixEvent {
|
||||||
// Properties provided by the spec
|
|
||||||
eventId: string;
|
eventId: string;
|
||||||
roomId?: string;
|
roomId?: string;
|
||||||
sender: string;
|
sender: string;
|
||||||
@@ -15,8 +14,6 @@ export interface MatrixEvent {
|
|||||||
stateKey?: string;
|
stateKey?: string;
|
||||||
originServerTs: number;
|
originServerTs: number;
|
||||||
redacts?: string;
|
redacts?: string;
|
||||||
|
|
||||||
// Properties provided by the SDK
|
|
||||||
membership?: Membership;
|
membership?: Membership;
|
||||||
status: EventStatus;
|
status: EventStatus;
|
||||||
relation?: IEventRelation | null;
|
relation?: IEventRelation | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user