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;