# requireAppHotkeysStore

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
function requireAppHotkeysStore(store, message): AppHotkeysStore<Readonly<Record<string, AppHotkey<string, HotkeyChord | HotkeySequence | null>>>>;
```

Defined in: [adapter.ts:565](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/adapter.ts#L565)

The app hotkeys store, typed by `Register`, or throws when there is none.
`message` says which API needs it and how to provide one.

## Parameters

### store

  \| `AppHotkeysStore`\<`Readonly`\<`Record`\<`string`, `AppHotkey`\<`string`, `HotkeyChord` \| `HotkeySequence` \| `null`\>\>\>\>
  \| `null`
  \| `undefined`

### message

`string`

## Returns

`AppHotkeysStore`\<`Readonly`\<`Record`\<`string`, `AppHotkey`\<`string`, `HotkeyChord` \| `HotkeySequence` \| `null`\>\>\>\>
