aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/event-creator.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/event-creator.ts b/static/event-creator.ts
index 3459dba1..0f2c42b4 100644
--- a/static/event-creator.ts
+++ b/static/event-creator.ts
@@ -45,7 +45,7 @@ class EventCreator {
pos_in: ((c: HTMLElement, e: MouseEvent) => number),
round_to: number = 1,
wide_element: boolean = false
- ): ((e: MouseEvent) => any) {
+ ): ((e: MouseEvent) => void) {
let that = this;
return function(this: HTMLElement, e: MouseEvent) {
if (e.buttons != 1 || !that.down_on_event) return;