(sequence: string)
| 58 | } |
| 59 | |
| 60 | export function normalizeSequence(sequence: string): NormalizedSequenceString { |
| 61 | return sequence |
| 62 | .split(SEQUENCE_DELIMITER) |
| 63 | .map(h => normalizeHotkey(h)) |
| 64 | .join(SEQUENCE_DELIMITER) as NormalizedSequenceString |
| 65 | } |
nothing calls this directly
no test coverage detected