E receives: the HookContextMap entry, else TCtx (default unknown).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Type alias exported by @botmesh/core.
type HookContextOf<E, TCtx> = E extends keyof HookContextMap ? HookContextMap[E] : TCtx;
E receives: the HookContextMap entry, else TCtx (default unknown).
| Type Parameter | Default type |
|---|---|
E extends HookEvent | - |
TCtx | unknown |