import type { IKeyBinding } from './IKeyBinding' ; interface IKeyBindingOptions { id : string ; label : string ; preventDefault ? : boolean ; keys : string | string [ ] ; } export function createKeyBinding ( options ) { return { ... options , id : `@keybinding/${ options . id }` , } ; }