scrubdaddy
scrubdaddy3mo ago

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?
2 Replies
scrubdaddy
scrubdaddy3mo ago
is it possible to just get it to ignore this, because it only impacts CI?
backbone
backbone3mo ago
modify tsconfig.json