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

Did you find this page helpful?