Typescript definition of StateMachineConfiguration
lantica opened this issue · 2 comments
lantica commented
In the mentioned interface, both initial
and final
are required.
I think these two option should be optional according to the document / implementation.
vstirbu commented
Thanks for reporting this. I'm always defining both initial
and final
options, so this was missed.
The initial
has the default value none
if no value is provided. I've opened a pull request with a fix. Is this aspect clear now?
lantica commented
Yes, thanks for the prompt response