From cc53e2535c9c70f97bfca46ff14c2d5030587bf0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 6 Jul 2023 13:30:47 +0100 Subject: [PATCH] Update IUnsigned type to be extensible --- src/models/event.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/event.ts b/src/models/event.ts index 55e923c6f14..3ed1957f4a1 100644 --- a/src/models/event.ts +++ b/src/models/event.ts @@ -63,10 +63,12 @@ export interface IContent { type StrippedState = Required>; export interface IUnsigned { + [key: string]: any; "age"?: number; "prev_sender"?: string; "prev_content"?: IContent; "redacted_because"?: IEvent; + "replaces_state"?: string; "transaction_id"?: string; "invite_room_state"?: StrippedState[]; "m.relations"?: Record; // No common pattern for aggregated relations