Add deprecated to which in jqlite

This commit is contained in:
oBusk
2018-12-12 13:10:56 +01:00
parent cc4eacc437
commit a1f4f7ac19
+1
View File
@@ -774,6 +774,7 @@ interface BaseJQueryEventObject extends Event {
pageY: number;
/**
* For key or mouse events, this property indicates the specific key or button that was pressed.
* @deprecated Use `key` for KeyEvents or `button` for MouseEvents instead.
* @see {@link https://api.jquery.com/event.which/}
*/
which: number;