Add @deprecated to which

This commit is contained in:
oBusk
2018-12-12 13:10:41 +01:00
parent 3f1adde0d0
commit cc4eacc437

View File

@@ -592,6 +592,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;