I am getting a errors after starting a TRPC project with T3. "Unsafe return of an `any` typed value"
It seems like something is off between Prisma and TRPC but I can't figure out why the type infrence isn'y working here.
Anyone run in to this issue before?
7 Replies
its ctx.db not just db
you didn’t use ctx at all
Neither work
What error do you have ?
Or what is says ?
Where I declare the const certificate I get
Unsafe assignment of an any value.
AND
Where I return the const I get Unsafe return of an any typed value.
Just had to restart vscode 🤦 - sorry guys!:)))
I had this problem before