@difizen/mana-core
Version:
16 lines (13 loc) • 459 B
text/typescript
import { Syringe } from '@difizen/mana-syringe';
import type { KeybindingRegistry } from './keybinding';
export const KeybindingContribution = Syringe.defineToken('KeybindingContribution');
/**
* Allows extensions to contribute {@link common.Keybinding}s
*/
export type KeybindingContribution = {
/**
* Registers keybindings.
* @param keybindings the keybinding registry.
*/
registerKeybindings: (keybindings: KeybindingRegistry) => void;
};