From a1f4f7ac1989d01b1b00f8d73cd696d481e6eb6a Mon Sep 17 00:00:00 2001 From: oBusk Date: Wed, 12 Dec 2018 13:10:56 +0100 Subject: [PATCH] Add `deprecated` to `which` in jqlite --- types/angular/jqlite.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/angular/jqlite.d.ts b/types/angular/jqlite.d.ts index 1860f104c7..ac4f8ec10c 100644 --- a/types/angular/jqlite.d.ts +++ b/types/angular/jqlite.d.ts @@ -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;