function parseShortcut(text: string): Shortcut | null; Reads a shortcut such as Primary+Shift+S; null when the text is not one.
parseShortcut functionfunction parseShortcut(text: string): Shortcut | null; Reads a shortcut such as Primary+Shift+S; null when the text is not one.