Skip to content

Commit 2cfc80a

Browse files
committed
fix: add named export for Draggable
1 parent b19bff0 commit 2cfc80a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ interface DraggableOptions {
55
mouseOnly?: boolean;
66
}
77

8-
export default class Draggable {
8+
export class Draggable {
99
constructor(options?: DraggableOptions);
1010
update(options?: DraggableOptions): void;
1111
bindTo(element: Element): void;
1212
destroy(): void;
1313
}
14+
15+
export default Draggable;
16+

0 commit comments

Comments
 (0)