From eb0ca7c8e2ef5f1ed30873db4e2ce899c765586d Mon Sep 17 00:00:00 2001 From: "flynn.park" Date: Sat, 24 Feb 2018 01:10:19 +0900 Subject: Fix typings for missing event.js method event --- svg.js.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/svg.js.d.ts b/svg.js.d.ts index 8064364..5a12594 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -320,6 +320,7 @@ declare namespace svgjs { off(event: string, cb: Function, context?: Object): this; fire(event: string, data?: any): this; fire(event: Event): this; + event(): Event | CustomEvent; click(cb: Function): this; dblclick(cb: Function): this; -- cgit v1.2.3