Skip to content

createAppHotkeysStore

ts
function createAppHotkeysStore<T>(appHotkeys, options): AppHotkeysStore<T>;

Defined in: _app-hotkeys-factory.ts:21

Creates the store for app hotkeys from defineAppHotkeys.

Type Parameters

T

T extends Readonly<Record<string, AppHotkey<string, HotkeyChord | HotkeySequence | null>>>

Parameters

appHotkeys

T

options

AppHotkeysStoreOptions<T>

Returns

AppHotkeysStore<T>