Maps a state type to the seed value type required by the createState 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 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 type to the seed value type required by the createState factory: