Offir Golan

Results 156 comments of Offir Golan

I think the reasoning here is pretty solid, it's just that being able to support something like this might be a bit tough. Tbh, I'm still having trouble wrapping my...

Damn thats a bummer... Ill try to dig around and see if I can find a workaround.

@Turbo87 thats def. a great start! Thanks for updating me on this 😸. Feel free to close the issue!

The deprecation warnings should have been resolved by `v0.5.0`.

@Andarist I found another TS error: [TS Playground](https://www.typescriptlang.org/play?ts=5.5.0-dev.20240331#code/JYWwDg9gTgLgBAbzgZwKYwK5gDR1QOwEcNUSBBAYxmAn2V2RgEMZUBJfOAXzgDMoIIOACIAHoxaphAbjgB6OXBgBPMKmQAuOAFYAdAE5dARgBQJtJjAAKBCbhwmVGnS2379gEZMoWgsVKolNS0yFY2cBQAFqgUANbcAJRwALwAfIh27vZRMbFWEqwcVgDkTMUJCdKZ9lwJ2Jlc9bW6FFCokgCyjpHA+Kg2mQXqrtUOro2jHuMNJrVVQA) ```ts setup({ actions: { bar: enqueueActions(({ check }) => { check(stateIn('a')); }), }, }).createMachine({ states: { a: {}, b: {} } });...

FWIW Using `createMachine` with the deprecated second argument instead of `setup` and defining `types.actions` and `types.guards` works. Because of these TS limitations in setup, should I switch back to using...