tRPCttRPC
Powered by
<DxD/><
tRPC•3y ago•
7 replies
<DxD/>

TRPC EXPORT API TYPES BE to FE

Is there a way I can automatically export my API types from the backend to the frontend? For example, after I modify my backend (e.g., create a new route), do I need to run something like 'trpc-api-export,' and will everything generated in my 'dist' folder be copied and placed in the 'api/api-types' folder on the frontend? Is there an automated way to do this?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Strange trpc types
XenostarXXenostar / ❓-help
3y ago
tRPC is butchering object types in return types
BertBBert / ❓-help
3y ago