TanStack

AdapterCallbackContextFor

ts
type AdapterCallbackContextFor<T> = [T] extends [AppHotkey] ? HotkeyCallbackContext : HotkeyCallbackContextFor<T>;

Defined in: adapter.ts:263

The callback context for an AdapterHotkeyInput. An app hotkey's kind can change, so it takes either.

Type Parameters

T

T