# PlatformHotkeyEntry

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

```ts
type PlatformHotkeyEntry<T> = [T] extends [string | ReadonlyArray<unknown>] ? T : T extends 
  | string
  | ReadonlyArray<unknown>
  | {
  key: unknown;
}
  | {
  code: unknown;
} ? T : OwnPlatformEntries<T>;
```

Defined in: [hotkey.types.ts:529](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey.types.ts#L529)

The hotkeys `resolvePlatformHotkey` can return: every entry of a
`PlatformHotkeys` object that isn't `null`, without its alternates, or the
hotkey itself.

## Type Parameters

### T

`T`
