Maps a state interface to the seed value type required by State factory:
Data properties are preserved unchanged
Transition methods are mapped to Update functions with inferred parameter types
Other function types are excluded
Type Parameters
T
The state interface type
Remarks
The type automatically infers input parameter types from transition signatures, ensuring
type safety between transition method parameters and their corresponding update functions.
State seed value.
Maps a state interface to the seed value type required by State factory: