From 1e6dd01bfc767263665d40308fd537db425091be Mon Sep 17 00:00:00 2001 From: Lukas Nys Date: Wed, 25 Sep 2024 10:22:05 +0200 Subject: [PATCH] fix(ts): make onChange argument optional --- addon/src/modifiers/sortable-group.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/src/modifiers/sortable-group.ts b/addon/src/modifiers/sortable-group.ts index 9ad933e4..e78cc212 100644 --- a/addon/src/modifiers/sortable-group.ts +++ b/addon/src/modifiers/sortable-group.ts @@ -49,7 +49,7 @@ interface SortableGroupModifierSignature { a11yAnnouncementConfig?: A11yAnnouncementConfig; itemVisualClass?: string; a11yItemName?: string; - onChange: (itemModels: T[], draggedModel: T | undefined) => void; + onChange?: (itemModels: T[], draggedModel: T | undefined) => void; }; Positional: unknown[]; };