(input: string)
| 1291 | } |
| 1292 | |
| 1293 | export function normalizeSequenceBinding(input: string): string | null { |
| 1294 | const tokens = input |
| 1295 | .split(/\s+/) |
| 1296 | .map((token) => normalizeSequenceToken(token)) |
| 1297 | .filter((token): token is string => !!token); |
| 1298 | if (tokens.length === 0) return null; |
| 1299 | return tokens.join(" "); |
| 1300 | } |
| 1301 | |
| 1302 | export function normalizeKeymapBinding( |
| 1303 | id: KeymapId, |
no test coverage detected