function formatWithLabels(hotkey, platform): string;
Defined in: format.ts:127
Formats a hotkey using platform-agnostic labels. Uses 'Cmd' on Mac and 'Ctrl' for Control, etc.
The hotkey string or ParsedHotkey to format
Hotkey | string & object
The target platform
"mac" | "windows" | "linux"
string
A formatted string with platform-appropriate labels