Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Hotkeys API Reference
App Hotkeys API Reference
Key hold & held keys API Reference
Hotkey Recorder API Reference
Normalization & format API Reference
App Hotkeys API Reference

resolveAppHotkey

ts
function resolveAppHotkey(appHotkey, store): AppHotkey;
function resolveAppHotkey(appHotkey, store): AppHotkey;

Defined in: app-hotkeys.ts:523

Returns the provider's version of an app hotkey, so custom hotkeys apply even when a component imports the declaration directly. Falls back to the given app hotkey when no store declares it.

Parameters

appHotkey

AppHotkey

store

| AppHotkeysStore<Readonly<Record<string, AppHotkey<string, | HotkeyChord | HotkeySequence | null>>>> | null | undefined

Returns

AppHotkey