[BUG] TSC and build fails due to tsed/prisma
## Information

Version 7.34.2


As soon as prisma service or prisma repository is imported/injected anywhere in the code compile process fails due to missing declaration file for autogenerated repo for schema model:

reproduction repo: https://github.com/miroslavrut/tsedissue

Steps to reproduce:
pnpm install
pnpm build

It's possible to bypass it with disabling libChecks in tsconfig but that's not optimal solution




