[react] mark KeyboardEvent.which as deprecated (#45267)

to match lib.dom.d.ts
51bf887167/lib/lib.dom.d.ts (L15911)
This commit is contained in:
Adi Dahiya 2020-06-24 05:22:21 -04:00 committed by GitHub
parent d5839a98e3
commit 22ed0c7dd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1216,6 +1216,7 @@ declare namespace React {
metaKey: boolean;
repeat: boolean;
shiftKey: boolean;
/** @deprecated */
which: number;
}