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
I'm working on a custom RPC-like client-server communication layer, where I publish the back-end schema as JSON, and using this tool (thanks, BTW 🙂) I generate TypeScript for the frontend code to utilize. It's working great, for the most part, but there's one thing missing that I would find very useful.
I would like to have the option to use tuple element labels instead of separate named types, so that the generated tuple would look like this instead of the above.
I'm working on a custom RPC-like client-server communication layer, where I publish the back-end schema as JSON, and using this tool (thanks, BTW 🙂) I generate TypeScript for the frontend code to utilize. It's working great, for the most part, but there's one thing missing that I would find very useful.
Currently the above schema is generated into this.
I would like to have the option to use tuple element labels instead of separate named types, so that the generated tuple would look like this instead of the above.
This would allow for better intellisense when the generated tuple is used as a type for a function spread parameter.
I'd be willing to try to implement this if maintainers think it's a good idea.
The text was updated successfully, but these errors were encountered: