Skip to content

Commit f97feeb

Browse files
committed
fix: missing return types
1 parent ab76cc7 commit f97feeb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
interface DraggableOptions {
2-
press?: Function,
3-
drag?: Function,
4-
release?: Function,
5-
mouseOnly?: boolean
2+
press?: Function;
3+
drag?: Function;
4+
release?: Function;
5+
mouseOnly?: boolean;
66
}
77

88
export default class Draggable {
9-
constructor(options?: DraggableOptions)
10-
bindTo(element: Element)
11-
destroy()
9+
constructor(options?: DraggableOptions);
10+
bindTo(element: Element): void;
11+
destroy(): void;
1212
}

0 commit comments

Comments
 (0)