You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it seems that tuples (or at least, optional tuples) are output as 'unknown' - TypeScript has a tuple type, so it should be fairly easy to convert between Rust tuples and TypeScript tuples?
According to the syn docs, this should be as simple as matching on syn::Type::Tuple(TypeTuple) and then using the inner TypeTuple to get the necessary data
Thanks again for the write up @Starwort. I agree, this should be very doable! Again, I’d love help implementing this but at the moment I won’t be able to address this right away.
Currently, it seems that tuples (or at least, optional tuples) are output as 'unknown' - TypeScript has a tuple type, so it should be fairly easy to convert between Rust tuples and TypeScript tuples?
The text was updated successfully, but these errors were encountered: