diff --git a/src/client.ts b/src/client.ts index 43e659433a5..132be95507a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -837,7 +837,7 @@ interface IRoomHierarchy { next_batch?: string; } -interface ITimestampToEventResponse { +export interface TimestampToEventResponse { event_id: string; origin_server_ts: string; } @@ -9541,7 +9541,7 @@ export class MatrixClient extends TypedEventEmitter { + ): Promise { const path = utils.encodeUri("/rooms/$roomId/timestamp_to_event", { $roomId: roomId, });