From a5c40a2077a435e2b5da5cc50c858a749afaa26d Mon Sep 17 00:00:00 2001 From: ssddi456 Date: Fri, 31 Aug 2018 17:08:43 +0800 Subject: [PATCH] fix event handler remote type --- types/zepto/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/zepto/index.d.ts b/types/zepto/index.d.ts index fd215e2ea1..477c2a3b2a 100644 --- a/types/zepto/index.d.ts +++ b/types/zepto/index.d.ts @@ -1662,7 +1662,7 @@ interface ZeptoEventHandlers { [key: string]: ZeptoEventHandler; } interface ZeptoEventHandler { - (e: Event, ...args: any[]): void | false | any; + (e: Event, ...args: any[]): any; } declare var Zepto: (fn: ($: ZeptoStatic) => void) => void; declare var $: ZeptoStatic;