(nextState: KeybindingManagerState<KeyContext<S>>)
| 438 | } |
| 439 | |
| 440 | const applyKeybindingState = (nextState: KeybindingManagerState<KeyContext<S>>): void => { |
| 441 | keybindingState = nextState; |
| 442 | keybindingsEnabled = computeKeybindingsEnabled(keybindingState); |
| 443 | }; |
| 444 | const keybindingHelpers = createAppKeybindingHelpers<S>({ |
| 445 | getState: () => keybindingState, |
| 446 | markDirty: (flags) => markDirty(flags), |
no test coverage detected