formatHotkey
function formatHotkey(parsed): string;Defined in: format.ts:54
Converts a ParsedHotkey back to a hotkey string.
Parameters
parsed
The parsed hotkey object
Returns
string
A hotkey string in canonical form
Example
formatHotkey({ key: 'S', ctrl: true, shift: true, alt: false, meta: false, modifiers: ['Control', 'Shift'] })
// Returns: 'Control+Shift+S'