Skip to content

Commit

Permalink
Fix *Canvas() method types requiring all jCanvas properties
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Jun 7, 2024
1 parent 35c89af commit f7ca865
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/jcanvas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,12 @@ interface JQuery {
stopLayer(layerId: JCanvasLayerId, clearQueue?: boolean): void;
stopLayerGroup(groupId: jCanvasLayerGroupId, clearQueue?: boolean): void;
draw(args: Partial<JCanvasObject>): JQuery;
clearCanvas(args?: JCanvasObject): JQuery;
saveCanvas(args?: JCanvasObject): JQuery;
restoreCanvas(args?: JCanvasObject): JQuery;
rotateCanvas(args?: JCanvasObject): JQuery;
scaleCanvas(args?: JCanvasObject): JQuery;
translateCanvas(args?: JCanvasObject): JQuery;
clearCanvas(args?: Partial<JCanvasObject>): JQuery;
saveCanvas(args?: Partial<JCanvasObject>): JQuery;
restoreCanvas(args?: Partial<JCanvasObject>): JQuery;
rotateCanvas(args?: Partial<JCanvasObject>): JQuery;
scaleCanvas(args?: Partial<JCanvasObject>): JQuery;
translateCanvas(args?: Partial<JCanvasObject>): JQuery;
drawRect(args: Partial<JCanvasObject>): JQuery;
drawArc(args: Partial<JCanvasObject>): JQuery;
drawEllipse(args: Partial<JCanvasObject>): JQuery;
Expand Down

0 comments on commit f7ca865

Please sign in to comment.