Skip to content

Commit

Permalink
Fix syntax error in declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed May 25, 2024
1 parent 7291d65 commit b03c45a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jcanvas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b03c45a

Please sign in to comment.