tRPC typings not working - Cannot import @trpc/server on client
hi guys, my structure is the following:
- Turborepo TS compiling to cjs
- A common packcage which defines the tRPC router
- A server service which imports it & runs on expressjs
- A NextJS client which imports the type and supposed to interact with the server
however, i cannot import the type on the client due to the follwowing error:
my code is the following
Common package:
Client:
Server:
0 Replies