From b03c45ad967940900e34d8b8505927120a13e0a6 Mon Sep 17 00:00:00 2001 From: Caleb Evans Date: Sat, 25 May 2024 16:32:55 -0700 Subject: [PATCH] Fix syntax error in declaration file --- src/jcanvas.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jcanvas.d.ts b/src/jcanvas.d.ts index 6232a6f..a5b447f 100644 --- a/src/jcanvas.d.ts +++ b/src/jcanvas.d.ts @@ -44,8 +44,8 @@ interface JCanvas { canvas: HTMLCanvasElement, ctx: CanvasRenderingContext2D, params: jCanvasObject, - width: number | null = null, - height: number | null = null + width?: number | null, + height?: number | null ): void; detectEvents( canvas: HTMLCanvasElement,