UNPKG

@tanstack/hotkeys

Version:

Type-safe, framework-agnostic keyboard hotkey management for the browser

9 lines (8 loc) • 305 B
// src/_manager-ref.ts /** * The HotkeyManager singleton, once created. Code that only reads the live * registry, such as conflict checks, reads this instead of importing the * manager, so a recorder bundle does not include hotkey dispatch. */ const managerRef = { current: null }; export { managerRef };