fix event handler remote type

This commit is contained in:
ssddi456
2018-08-31 17:08:43 +08:00
committed by GitHub
parent 69ecc1f061
commit a5c40a2077

View File

@@ -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;