normalizeRegisterableHotkey
function normalizeRegisterableHotkey(hotkey, platform?): Hotkey;Defined in: parse.ts:229
Normalizes a string or RawHotkey object to the same canonical hotkey string.
Use this in framework adapters instead of branching on formatHotkey(rawHotkeyToParsedHotkey(...)).
Parameters
hotkey
platform?
"mac" | "windows" | "linux"