Prisma types from t3 turborepo db package

I am working on a project using the t3-turbo monorepo template. When using the packages/db package in other packages, the types do not autocomplete or auto-import. It seems as if the @project/db dependency does not export anything other than a prisma object of type any. When manually writing the types into the import, it works and Typescript realizes that the package does in fact export these types. How can I improve DX around this and get the types to work automatically?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server