TanStack

AppHotkeyDefaultKind

ts
type AppHotkeyDefaultKind<THotkey> = THotkey extends string | ReadonlyArray<unknown> | null | UncheckedHotkey ? AppHotkeyEntryKind<THotkey> : PlatformHotkeys<[PlatformHotkeyEntries<THotkey>] extends [never] ? Hotkey : AppHotkeyEntryKind<PlatformHotkeyEntries<THotkey>>>;

Defined in: app-hotkeys.ts:409

The kind of a declared default hotkey; a one-step sequence is a chord. A hotkey per platform is PlatformHotkeys of the kinds of its entries.

Type Parameters

THotkey

THotkey