# AdapterWrapperHotkey

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

```ts
type AdapterWrapperHotkey = RegisterableHotkey | AppHotkey | null | undefined;
```

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

What a hotkey function takes in a wrapper whose hotkey is a type parameter:
any hotkey, or none. Keep it a named type. Written inline in a signature,
TypeScript infers into the union member by member, which costs over a
second of type checking for each call with a hotkey typed `Hotkey`.
