Open PickleyD opened 3 years ago
Replacing any
with HomePageMachineStateMachine<HomePageMachineContext, HomePageMachineEvent, "homePageMachine">["_options"]
seems to do the job. I'm fine with this unless there is a more reader-friendly way of doing it which I'm overlooking.
I'd like to be able to define my machine options in separate files so I can swap out real/mock service implementations like the following:
Is there an easy way to get the generated types for my machine options so I can replace this
any
?