hi there, I'm building my first state machine using xstate and I've had a pretty great progress so far
I hit this situation where I'm trying to have several actions take place sequentially and so I'm using enqueueActions, but when I do so I get type errors, here's the full type error:
Object literal may only specify known properties, and 'type' does not exist in type 'ActionFunction<{ result: Result; errorMsg: string | undefined; appLoadingElem: HTMLElement | null; }, { type: "end"; } | { type: "back"; } | { type: "next"; } | { type: "start"; } | { ...; }, ... 6 more ..., EventObject>'.ts(2353)
It's quite hard to debug this issue, but the app actually runs and works without issues, I'm feeling the urges to ignore this problem, but I'm not sure if safe to do so 😅
has anyone else found these types of errors?
thanks