docs(ime): correct the Electron.Input marker note on the detector input type

Electron.Input does carry isComposing; only the numeric keyCode is absent.

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Neil
2026-08-02 03:25:01 -07:00
co-authored by Orca
parent 5327f27ccc
commit 25ebc90dde
+2 -1
View File
@@ -27,7 +27,8 @@ export type ModifierKeyEventLike = {
alt?: boolean
meta?: boolean
isAutoRepeat?: boolean
// Optional so non-DOM callers (Electron before-input-event) keep their current behavior.
// Optional because `Electron.Input` has no numeric keyCode; it does carry isComposing, so the
// before-input-event callers pass that one.
isComposing?: boolean
keyCode?: number
}