Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/define-app-hotkeys-editor-speed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@tanstack/hotkeys': patch
---

`defineAppHotkeys` no longer slows editors down. Typing a hotkey in a call with 300 declarations took up to 2 seconds per keystroke and now takes about 0.25 seconds, with the same hotkey and option checks and "Did you mean" suggestions.

- A generic lookup such as `typeof appHotkeys[TId]` over spread-in app hotkeys no longer fails with "Expression produces a union type that is too complex to represent".
- A union of declaration objects no longer type-checks; call `defineAppHotkeys` in each branch instead. A generic function that passes its argument to `defineAppHotkeys` now type-checks.
- Completions list every chord while a hotkey is empty or doesn't yet form a chord. When the text already forms one, such as `'M'` or `'Mod+S'`, they list only that chord.
- `DefinedAppHotkeys` takes declarations of the new `AppHotkeyDeclaration` shape and no longer checks their hotkeys itself; `defineAppHotkeys` does.
319 changes: 173 additions & 146 deletions .intent/review-state.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions _artifacts/skill_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,9 @@ The skills teach agents to use those APIs directly. The core skills hold the fra
- **Source:** branch `feat/nested-app-hotkeys` from `00217cf3`. `defineAppHotkeys` accepts the app hotkeys of another `defineAppHotkeys` call. Spread-in entries keep their id and the kind of their default, and skip the option check that their own call already ran. An entry that replaces a spread-in `hotkey` or `options` is checked like any other declaration. Types only; no runtime change.
- **Changes:** `app-hotkeys` gains a pitfall: split a large catalog with nested `defineAppHotkeys` calls instead of `as const satisfies Record<string, AppHotkeyInput>`, which defers the kind-specific option check to the final call. Every framework's `app-hotkeys.md` guide gains a "Split declarations across files" section. `domain_map.yaml` records the failure mode. Framework skills and `skill_tree.yaml` are unchanged: no framework skill shows split declarations.
- **Checks:** `packages/hotkeys/tests/app-hotkeys.test.ts` covers spread-in types, a renamed entry, and option errors beside spread-in entries; `app-hotkeys-type-performance.test.ts` spreads 100 entries. `intent validate` passes. Not run: fresh-consumer sessions.

### Source sync — 2026-11-29 — defineAppHotkeys editor speed

- **Source:** branch `perf/define-app-hotkeys-editor` from `33e0b46f`. `defineAppHotkeys` infers declarations against `AppHotkeyDeclaration`, which names no hotkey union, and checks each hotkey once the declarations are inferred. Typing in a 300-entry call drops from about 2 seconds per keystroke to about 0.25 seconds, with the same errors and suggestions. Completions list only the current text once it forms a chord, such as `'M'`. A generic lookup such as `typeof appHotkeys[TId]` over spread-in app hotkeys no longer fails with TS2590. A union of declaration objects no longer type-checks.
- **Changes:** none to skills or `domain_map.yaml`. No skill shows a union of declaration objects, and the `app-hotkeys` pitfall about nested `defineAppHotkeys` calls stays accurate. `skill_tree.yaml` is unchanged.
- **Checks:** `packages/hotkeys/tests/app-hotkeys-editor-latency.test.ts` compares editor latency with `as const satisfies`; `app-hotkeys-type-performance.test.ts` covers the generic lookup. `intent validate` passes. Not run: fresh-consumer sessions.
2 changes: 1 addition & 1 deletion docs/reference/adapter/functions/installAppHotkeysStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: installAppHotkeysStore
function installAppHotkeysStore(): void;
```

Defined in: [app-hotkeys.ts:230](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L230)
Defined in: [app-hotkeys.ts:360](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L360)

Lets providers in this bundle create stores for app hotkeys.
`defineAppHotkeys` calls it. Adapters call it where the declarations can
Expand Down
26 changes: 13 additions & 13 deletions docs/reference/classes/AppHotkeysStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: AppHotkeysStore

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

Defined in: [app-hotkeys.ts:482](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L482)
Defined in: [app-hotkeys.ts:612](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L612)

Holds declared app hotkeys and the user's custom hotkeys. Framework
providers create one and expose it through hooks; devtools read it from
Expand Down Expand Up @@ -36,7 +36,7 @@ store.setCustomHotkey('doc.save', 'Mod+Shift+S')
new AppHotkeysStore<T>(appHotkeys, options?): AppHotkeysStore<T>;
```

Defined in: [app-hotkeys.ts:489](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L489)
Defined in: [app-hotkeys.ts:619](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L619)

#### Parameters

Expand All @@ -60,7 +60,7 @@ Defined in: [app-hotkeys.ts:489](https://github.com/TanStack/hotkeys/blob/main/p
readonly store: Store<AppHotkeysState<T>>;
```

Defined in: [app-hotkeys.ts:483](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L483)
Defined in: [app-hotkeys.ts:613](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L613)

## Accessors

Expand All @@ -72,7 +72,7 @@ Defined in: [app-hotkeys.ts:483](https://github.com/TanStack/hotkeys/blob/main/p
get appHotkeys(): T;
```

Defined in: [app-hotkeys.ts:508](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L508)
Defined in: [app-hotkeys.ts:638](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L638)

Effective app hotkeys.

Expand All @@ -90,7 +90,7 @@ Effective app hotkeys.
get customHotkeys(): CustomHotkeys<T>;
```

Defined in: [app-hotkeys.ts:513](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L513)
Defined in: [app-hotkeys.ts:643](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L643)

The user's hotkeys that differ from the defaults.

Expand All @@ -113,7 +113,7 @@ findConflicts(
| null>[];
```

Defined in: [app-hotkeys.ts:602](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L602)
Defined in: [app-hotkeys.ts:732](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L732)

Other app hotkeys that would collide if `id` used `hotkey`. App hotkeys
collide when their scopes match or either is `'global'`, and their
Expand Down Expand Up @@ -169,7 +169,7 @@ get(id):
| undefined;
```

Defined in: [app-hotkeys.ts:577](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L577)
Defined in: [app-hotkeys.ts:707](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L707)

Effective app hotkey for an id, or `undefined` when it is not declared.

Expand All @@ -195,7 +195,7 @@ Effective app hotkey for an id, or `undefined` when it is not declared.
getList(registrations): AppHotkeyListItem<T[keyof T]>[];
```

Defined in: [app-hotkeys.ts:687](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L687)
Defined in: [app-hotkeys.ts:817](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L817)

Joins app hotkeys with live registrations, in declaration order.
Adapters call this with the manager's registration views.
Expand All @@ -218,7 +218,7 @@ Adapters call this with the manager's registration views.
resetCustomHotkey(id): void;
```

Defined in: [app-hotkeys.ts:664](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L664)
Defined in: [app-hotkeys.ts:794](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L794)

Restores the default hotkey for an app hotkey.

Expand All @@ -240,7 +240,7 @@ keyof `T` & `string`
resetCustomHotkeys(): void;
```

Defined in: [app-hotkeys.ts:671](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L671)
Defined in: [app-hotkeys.ts:801](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L801)

Restores every default hotkey.

Expand All @@ -256,7 +256,7 @@ Restores every default hotkey.
setAppHotkeys(appHotkeys): void;
```

Defined in: [app-hotkeys.ts:563](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L563)
Defined in: [app-hotkeys.ts:693](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L693)

Replaces the declarations, for example after hot module replacement.
Custom hotkeys for ids that still exist are kept.
Expand Down Expand Up @@ -286,7 +286,7 @@ setCustomHotkey(
| null>[];
```

Defined in: [app-hotkeys.ts:630](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L630)
Defined in: [app-hotkeys.ts:760](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L760)

Sets the user's hotkey for an app hotkey. `null` unbinds it. A hotkey
equal to the default removes the customization. Pass the recorder's
Expand Down Expand Up @@ -325,7 +325,7 @@ hotkey, such as `''`, and both return an empty array.
setOptions(options): void;
```

Defined in: [app-hotkeys.ts:527](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L527)
Defined in: [app-hotkeys.ts:657](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L657)

Updates options. Providers call it with their props on every update.

Expand Down
11 changes: 8 additions & 3 deletions docs/reference/functions/defineAppHotkeys.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,28 @@ title: defineAppHotkeys
function defineAppHotkeys<T>(definitions): DefinedAppHotkeys<T>;
```

Defined in: [app-hotkeys.ts:205](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L205)
Defined in: [app-hotkeys.ts:333](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L333)

Declares every app hotkey up front, without registering any, so cheat
sheets and settings screens can list hotkeys whose components have not
mounted. Pass the result to `HotkeysProvider` as `appHotkeys`.

Spread the results of other `defineAppHotkeys` calls to combine
declarations from several files. To pick declarations at runtime, call
`defineAppHotkeys` in each branch: a union of declaration objects doesn't
type-check.

## Type Parameters

### T

`T` *extends* `Record`\<`string`, [`AppHotkeyInput`](../interfaces/AppHotkeyInput.md)\>
`T` *extends* `Record`\<`string`, [`AppHotkeyDeclaration`](../interfaces/AppHotkeyDeclaration.md)\>

## Parameters

### definitions

`T` & `ValidatedAppHotkeyInputs`\<`T`\>
`ValidatedAppHotkeyInputs`\<`T`\>

## Returns

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: getAppHotkeyRegistrationOptions
function getAppHotkeyRegistrationOptions(appHotkey): AppHotkeyChordOptions & AppHotkeySequenceOptions & object;
```

Defined in: [app-hotkeys.ts:739](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L739)
Defined in: [app-hotkeys.ts:869](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L869)

Options that adapters pass to the manager when registering an app hotkey:
declared options, scope, meta, and the app hotkey id. The manager drops options
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/functions/installAppHotkeysStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: installAppHotkeysStore
function installAppHotkeysStore(): void;
```

Defined in: [app-hotkeys.ts:230](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L230)
Defined in: [app-hotkeys.ts:360](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L360)

Lets providers in this bundle create stores for app hotkeys.
`defineAppHotkeys` calls it. Adapters call it where the declarations can
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/functions/isAppHotkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: isAppHotkey
function isAppHotkey(value): value is AppHotkey<string, HotkeyChord | HotkeySequence | null>;
```

Defined in: [app-hotkeys.ts:237](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L237)
Defined in: [app-hotkeys.ts:367](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L367)

Whether a value is an app hotkey created by `defineAppHotkeys`.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/functions/isCustomHotkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: isCustomHotkey
function isCustomHotkey(appHotkey, platform?): boolean;
```

Defined in: [app-hotkeys.ts:255](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L255)
Defined in: [app-hotkeys.ts:385](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L385)

Whether an app hotkey's effective hotkey differs from its default.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/functions/provideAppHotkeys.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: provideAppHotkeys
function provideAppHotkeys<T>(appHotkeys, options?): object;
```

Defined in: [app-hotkeys.ts:786](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L786)
Defined in: [app-hotkeys.ts:916](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L916)

Creates an app hotkeys store and publishes it on the HotkeyManager, for
adapters without a provider component (such as Lit and Alpine). Hotkey
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/functions/publishAppHotkeysStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: publishAppHotkeysStore
function publishAppHotkeysStore(store): () => void;
```

Defined in: [app-hotkeys.ts:760](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L760)
Defined in: [app-hotkeys.ts:890](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L890)

Publishes a provider's store on the HotkeyManager so devtools can list
declared hotkeys. Returns a cleanup function that unpublishes it if it is
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/functions/resolveAppHotkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: resolveAppHotkey
function resolveAppHotkey(appHotkey, store): AppHotkey;
```

Defined in: [app-hotkeys.ts:727](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L727)
Defined in: [app-hotkeys.ts:857](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L857)

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
Expand Down
1 change: 1 addition & 0 deletions docs/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ title: "@tanstack/hotkeys"

- [ActivateHotkeyScopeOptions](interfaces/ActivateHotkeyScopeOptions.md)
- [AppHotkey](interfaces/AppHotkey.md)
- [AppHotkeyDeclaration](interfaces/AppHotkeyDeclaration.md)
- [AppHotkeyInput](interfaces/AppHotkeyInput.md)
- [AppHotkeyListItem](interfaces/AppHotkeyListItem.md)
- [AppHotkeysState](interfaces/AppHotkeysState.md)
Expand Down
70 changes: 70 additions & 0 deletions docs/reference/interfaces/AppHotkeyDeclaration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
id: AppHotkeyDeclaration
title: AppHotkeyDeclaration
---

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

Defined in: [app-hotkeys.ts:137](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L137)

The shape of a declaration before `defineAppHotkeys` checks its hotkey and
options. `DefinedAppHotkeys` takes a map of these.

It names no hotkey type on purpose. While TypeScript infers the
declarations, it checks every literal in the call against contextual types
built from this shape, and each check walks any union it finds. With the
chord union (thousands of members) here, each keystroke in a large
declaration took seconds in editors. `ValidatedAppHotkeyInputs` checks each
hotkey once the declarations are inferred.

## Properties

### hotkey

```ts
hotkey: string | readonly string[] | UncheckedHotkey | null;
```

Defined in: [app-hotkeys.ts:139](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L139)

Default hotkey: a chord, a sequence, or `null` for an action without a default.

***

### meta?

```ts
optional meta?: HotkeyMeta;
```

Defined in: [app-hotkeys.ts:141](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L141)

Display metadata for cheat sheets and settings screens.

***

### options?

```ts
optional options?: AppHotkeyOptions;
```

Defined in: [app-hotkeys.ts:153](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L153)

Options that describe the hotkey itself. Chord defaults accept
`requireReset`; sequence defaults accept `timeout`.

***

### scope?

```ts
optional scope?: string;
```

Defined in: [app-hotkeys.ts:148](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L148)

Scope this hotkey fires in, such as `'editor'`. Overrides the scope of the
provider it registers under. App hotkeys in different scopes may share a
hotkey; one in the `'global'` scope conflicts with any app hotkey that
shares its hotkey.
10 changes: 5 additions & 5 deletions docs/reference/interfaces/AppHotkeyListItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: AppHotkeyListItem

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

Defined in: [app-hotkeys.ts:401](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L401)
Defined in: [app-hotkeys.ts:531](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L531)

One row of an app hotkey cheat sheet.

Expand All @@ -23,7 +23,7 @@ One row of an app hotkey cheat sheet.
appHotkey: T;
```

Defined in: [app-hotkeys.ts:402](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L402)
Defined in: [app-hotkeys.ts:532](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L532)

***

Expand All @@ -33,7 +33,7 @@ Defined in: [app-hotkeys.ts:402](https://github.com/TanStack/hotkeys/blob/main/p
isCustom: boolean;
```

Defined in: [app-hotkeys.ts:405](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L405)
Defined in: [app-hotkeys.ts:535](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L535)

Whether the effective hotkey differs from the declared default.

Expand All @@ -45,7 +45,7 @@ Whether the effective hotkey differs from the declared default.
registrations: HotkeyRegistrationView[];
```

Defined in: [app-hotkeys.ts:407](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L407)
Defined in: [app-hotkeys.ts:537](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L537)

Live registrations of this app hotkey (for example, one per list row).

Expand All @@ -57,4 +57,4 @@ Live registrations of this app hotkey (for example, one per list row).
status: AppHotkeyStatus;
```

Defined in: [app-hotkeys.ts:403](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L403)
Defined in: [app-hotkeys.ts:533](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L533)
6 changes: 3 additions & 3 deletions docs/reference/interfaces/AppHotkeysState.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: AppHotkeysState

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

Defined in: [app-hotkeys.ts:411](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L411)
Defined in: [app-hotkeys.ts:541](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L541)

State of an `AppHotkeysStore`.

Expand All @@ -23,7 +23,7 @@ State of an `AppHotkeysStore`.
appHotkeys: T;
```

Defined in: [app-hotkeys.ts:413](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L413)
Defined in: [app-hotkeys.ts:543](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L543)

Effective app hotkeys: declarations with custom hotkeys applied.

Expand All @@ -35,6 +35,6 @@ Effective app hotkeys: declarations with custom hotkeys applied.
customHotkeys: CustomHotkeys<T>;
```

Defined in: [app-hotkeys.ts:415](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L415)
Defined in: [app-hotkeys.ts:545](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/app-hotkeys.ts#L545)

The user's hotkeys that differ from the defaults.
Loading
Loading