(name)
| 1431 | } |
| 1432 | |
| 1433 | function resolveBindingInfo(name) { |
| 1434 | const baseBinding = keyBindings[name] ?? null; |
| 1435 | if (!hasOwnBindingOverride(name)) return baseBinding; |
| 1436 | |
| 1437 | const override = resolvedKeyBindings?.[name]; |
| 1438 | if (override === null) { |
| 1439 | return baseBinding ? { ...baseBinding, key: null } : { key: null }; |
| 1440 | } |
| 1441 | |
| 1442 | if (!override || typeof override !== "object") { |
| 1443 | return baseBinding; |
| 1444 | } |
| 1445 | |
| 1446 | return baseBinding ? { ...baseBinding, ...override } : override; |
| 1447 | } |
| 1448 | |
| 1449 | function buildResolvedKeyBindingsSnapshot() { |
| 1450 | const bindingNames = new Set([ |
no test coverage detected