statelyai / xstate-tools

Public monorepo for XState tooling
183 stars 40 forks source link

typegen: support typing spawned children #143

Open JackCA opened 2 years ago

JackCA commented 2 years ago

when referencing a service's state.children, the types are any and we must manually specify the interpreter type.

It would be great to support typing these values via the typegen

see: https://discord.com/channels/795785288994652170/968406755262496799/968767375186984960

davidkpiano commented 2 years ago

Completely agree; it's something we'd like to do :+1: