mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
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/
This commit is contained in:
parent
eed986ec89
commit
9365589023
1
types/angular/jqlite.d.ts
vendored
1
types/angular/jqlite.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user