TanStack
Normalization & format API Reference

normalizeHotkeyFromParsed

ts
function normalizeHotkeyFromParsed(parsed, platform?): HotkeyChord;

Defined in: parse.ts:177

Same canonical string as normalizeHotkey, but from an already-parsed hotkey: Mod first when the platform allows, then Alt, then Shift; otherwise full Control+Alt+Shift+Meta order.

Parameters

parsed

ParsedHotkey

platform?

"mac" | "windows" | "linux"

Returns

HotkeyChord