From 9365589023a5c83e9beb13b8fa9b43e838fb216b Mon Sep 17 00:00:00 2001 From: Kilian Cirera Sant Date: Thu, 3 Sep 2020 12:02:08 -0700 Subject: [PATCH] Remove deprecation flag of `which` in JQueryEventObject (#47214) While the DOM's `KeyboardEvent.which` **is** deprecated (https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/which), jQuery's counterpart isn't: https://api.jquery.com/event.which/ --- types/angular/jqlite.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/angular/jqlite.d.ts b/types/angular/jqlite.d.ts index 864208b513..15cd9cb54d 100644 --- a/types/angular/jqlite.d.ts +++ b/types/angular/jqlite.d.ts @@ -774,7 +774,6 @@ 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;