TanStack

LayoutKey

ts
type LayoutKey = Register extends object ? TKeys : UsKeys;

Defined in: key.types.ts:267

The printable keys, other than A-Z and 0-9, that hotkey strings accept: the keys of the layouts in Register['keys'], or the US QWERTY keys when none are registered.

Example

ts
import type { FrenchKeys, GermanKeys } from '@tanstack/react-hotkeys'

declare module '@tanstack/react-hotkeys' {
  interface Register {
    keys: GermanKeys | FrenchKeys
  }
}