mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 03:20:46 +08:00
fix event handler remote type
This commit is contained in:
2
types/zepto/index.d.ts
vendored
2
types/zepto/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user