EventMapOfInstance
EventMapOfInstance<
TFsm> =0extends1&TFsm?EventMap:TFsmextendsFsm?TEvents:TFsmextendsBehavioralFsm?TEvents:EventMap
Defined in: types.ts:221
Extracts the event payload map from a concrete machina FSM instance (#183).
Same fallback rules as InputMapOfInstance: the wide map for an undeclared
instance, for non-FSM types, and for any. machina-react derives its event
hook’s name and payload types from this.
Type Parameters
Section titled “Type Parameters”TFsm