TypeScript: Exported types incomplete when using Prisma methods in TurboRepo
I’m encountering a TypeScript type inference issue in my TurboRepo setup, specifically when using Prisma methods within NestJS services. In the server package, I have an export.d.ts file that exports types for various controller methods and DTOs. However, TypeScript fails to infer complete types when using Prisma methods, resulting in incomplete type definitions when used in the frontend package.