You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
Fix types (#2056)
This commit is contained in:
committed by
GitHub
parent
f926a2f777
commit
4e9fe8f53f
@@ -35,6 +35,7 @@ import { RoomMember } from "./room-member";
|
||||
import { Thread, ThreadEvent } from "./thread";
|
||||
import { IActionsObject } from '../pushprocessor';
|
||||
import { ReEmitter } from '../ReEmitter';
|
||||
import { MatrixError } from "../http-api";
|
||||
|
||||
/**
|
||||
* Enum for event statuses.
|
||||
@@ -85,7 +86,7 @@ export interface IUnsigned {
|
||||
age?: number;
|
||||
prev_sender?: string;
|
||||
prev_content?: IContent;
|
||||
redacted_because?: IClearEvent;
|
||||
redacted_because?: IEvent;
|
||||
transaction_id?: string;
|
||||
invite_room_state?: StrippedState[];
|
||||
}
|
||||
@@ -203,7 +204,7 @@ export class MatrixEvent extends EventEmitter {
|
||||
public sender: RoomMember = null;
|
||||
public target: RoomMember = null;
|
||||
public status: EventStatus = null;
|
||||
public error: Error = null;
|
||||
public error: MatrixError = null;
|
||||
public forwardLooking = true;
|
||||
|
||||
/* If the event is a `m.key.verification.request` (or to_device `m.key.verification.start`) event,
|
||||
|
||||
Reference in New Issue
Block a user