From a5e1d6bbd2abce5ed97d85de55c8d73d18fb94d3 Mon Sep 17 00:00:00 2001 From: Deveshi Dwivedi Date: Thu, 27 Jun 2024 11:59:12 +0530 Subject: [PATCH] add interface for eraser --- common/types/global.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/types/global.d.ts b/common/types/global.d.ts index e95c3c9..296a720 100644 --- a/common/types/global.d.ts +++ b/common/types/global.d.ts @@ -2,11 +2,13 @@ export declare global { interface CtxOptions{ lineWidth: number; lineColor: string; + erase: boolean; } interface Move { path: [number, number][]; options: CtxOptions; + eraser: boolean; } type Room = {usersMoves: Map;