Skip to content

Type Alias: Actions<C>

API / @xmachines/play-dom / Actions

type Actions<C> = { [K in keyof InferCatalogActions<C>]: ActionFn<C, K> };

Defined in: packages/play-dom/src/json-render/types.ts:406

Map of catalog-typed action handler functions. Each key is a catalog action name; each value is an ActionFn<C, K> for that action.

Type Parameters

Type Parameter
C extends Catalog