From 6d9d03dc44b61893757fa0d339f0bbdb3b7bc14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=AEittaG=20ordnasselA?= Date: Tue, 11 Jun 2019 15:50:48 +0200 Subject: [PATCH] Add backlog to type definition --- webclient/src/store/room.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webclient/src/store/room.ts b/webclient/src/store/room.ts index f3d242e..b42bb35 100644 --- a/webclient/src/store/room.ts +++ b/webclient/src/store/room.ts @@ -35,7 +35,8 @@ export interface RoomMessage { } export interface RoomServerMessage { - time: "string"; + roomid: string; + time: string; type: "event" | "message" | "welcome"; event?: RoomEvent; message?: RoomMessage;