From 590c332aecc0f17eb4eeeddf09ba382d162cc49d Mon Sep 17 00:00:00 2001 From: Caleb Evans Date: Fri, 14 Jun 2024 11:38:35 -0700 Subject: [PATCH] Make JCanvasLayerWithHandles compatible with extended JCanvasLayer --- src/jcanvas-handles.d.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/jcanvas-handles.d.ts b/src/jcanvas-handles.d.ts index 4f9ab8a..fcf86f1 100644 --- a/src/jcanvas-handles.d.ts +++ b/src/jcanvas-handles.d.ts @@ -1,14 +1,14 @@ /// interface JCanvasDefaults { - handle: JCanvasLayer | null; - guide: JCanvasLayer | null; - aspectRatio: number | null; - resizeFromCenter: boolean; - constrainProportions: boolean; - handlePlacement: "corners" | "sides" | "both"; - minWidth: number; - minHeight: number; + handle?: JCanvasLayer | null; + guide?: JCanvasLayer | null; + aspectRatio?: number | null; + resizeFromCenter?: boolean; + constrainProportions?: boolean; + handlePlacement?: "corners" | "sides" | "both"; + minWidth?: number; + minHeight?: number; handlestart?: JCanvasLayerCallback; handlestop?: JCanvasLayerCallback; handlemove?: JCanvasLayerCallback;