[jquery-mousewheel] Add specialized signature for 'mousewheel'.

This commit is contained in:
Leonard Thieu
2017-06-19 15:44:40 -04:00
parent 97c4c93ad6
commit 1f571c4323

View File

@@ -17,6 +17,7 @@ declare namespace JQueryMousewheel {
}
interface JQuery {
on(event: 'mousewheel', handler: (eventObject: JQueryMousewheel.JQueryMousewheelEventObject, ...args: any[]) => any): JQuery;
mousewheel(handler: (eventObject: JQueryMousewheel.JQueryMousewheelEventObject, ...args: any[]) => any): JQuery
unmousewheel(): JQuery;
}