summaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-21 09:48:34 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-21 09:48:34 +0200
commit15c0d3f4236d43c43178f4cc1fc32171ebb732f7 (patch)
tree23456a1ad14b3b54da9e3db5e9d7e8bc40f15acc /test-client/protocol.ts
parent55da31ebea01103f9002800a309474ae5242d769 (diff)
downloadhurrycurry-15c0d3f4236d43c43178f4cc1fc32171ebb732f7.tar
hurrycurry-15c0d3f4236d43c43178f4cc1fc32171ebb732f7.tar.bz2
hurrycurry-15c0d3f4236d43c43178f4cc1fc32171ebb732f7.tar.zst
add menu to test-client
Diffstat (limited to 'test-client/protocol.ts')
-rw-r--r--test-client/protocol.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index c63e820f..432f30e2 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -64,7 +64,7 @@ export type PacketC =
export type Menu =
{ menu: "book" }
- | { menu: "score" } & Score
+ | { menu: "score", data: Score }
export interface Score {
points: number,