Skip to content

Commit

Permalink
fix: options are no longer required. Regression from before (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ authored Apr 23, 2024
1 parent f0a60b4 commit 236efae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/twelve-needles-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neodrag/svelte": patch
---

fix: options are no longer required. Regression from before
2 changes: 1 addition & 1 deletion packages/svelte/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface Action<

export const draggable = coreDraggable as Action<
HTMLElement,
DragOptions,
DragOptions | undefined,
{
'on:neodrag:start': (e: CustomEvent<DragEventData>) => void;
'on:neodrag': (e: CustomEvent<DragEventData>) => void;
Expand Down

0 comments on commit 236efae

Please sign in to comment.