scrubdaddy
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?
4 replies