tRPCttRPC
Powered by
scrubbuddyS
tRPC•2y ago•
3 replies
scrubbuddy

Compiling Frontend

In my frontend, I try to import the backend types:
- import type { AppRouter } from "../../../lambda/api-handler/src";
however, now my frontend cannot build as it has a different typescript configuration than my backend. What is the intended solution here? Is it possible to import these types without using a single tsconfig/build step across backend and frontend?
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

issue with compiling/building websocket server
vbhvVvbhv / ❓-help
13mo ago
Use TRPCClientError.cause in frontend
santiSsanti / ❓-help
15mo ago