finished code surgery

patient is comatose and is missing both testicles and eyeballs but is legally
alive
This commit is contained in:
Peter Harpending
2026-02-12 19:31:08 -08:00
parent 4a0e221790
commit db6d244cb6
9 changed files with 130 additions and 255 deletions
+2 -3
View File
@@ -10,7 +10,6 @@
* @module
*/
declare function main(): Promise<void>;
type ws_msg = ["username", string] | ["users", Array<string>];
declare function handle_ws_msg(message: ws_msg, roster_ul: HTMLUListElement, whoami: HTMLHeadingElement): void;
declare function handle_join(init: HTMLDivElement, init_name: HTMLInputElement, peers: HTMLDivElement, ws: WebSocket): Promise<void>;
type ws_msg = ["join", string] | ["down", string];
declare function handle_ws_msg(message: ws_msg): void;
declare function ws_send_json(ws: WebSocket, x: any): void;