Replies: 1 comment 4 replies
-
Hey @tibotiber - so sorry it took so long to get back to you. I'm not sure if this is still relevant, but you might consider using a utility like If that doesn't work, could you maybe drop a code snippet so we can play around and try to get a better answer for you? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
getSnapshot
's return value is aModelSnapshotType
. I was wondering if there is any helper or technique to clean that type into something that uses Typescript's built-in types only? This would be useful to expose the typed return value to users of a library that's MST based without exposing MST's complexity to the users.Beta Was this translation helpful? Give feedback.
All reactions