Copying the docs but got an error

Hi! Anyone know how I can fix this error?
9 Replies
ibramsterdam
ibramsterdam•2y ago
In the docs they give almost the same example.. 😦
barry
barry•2y ago
Restart vscode Just vscode playing with your head The code is fine
ibramsterdam
ibramsterdam•2y ago
ibramsterdam
ibramsterdam•2y ago
When I revert to the example all is good. I generated new prisma types. I restarted the typescript server 🤔 omg resetart works.. wauw thanks
barry
barry•2y ago
yh exactly restart vscode after db push also db push generates so dont need to do both
ibramsterdam
ibramsterdam•2y ago
My god.. Is this a t3 thing or prisma in general? never had this
barry
barry•2y ago
Either, t3 having a lot of type inference which overloads the ts server, or prisma problem, cuz for now it's only prisma types that seem to be doing this. But the same prisma type is walking through the ctx/context which is inferred / passed through tRPC So it can be a lot of things
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Paweł
Paweł•2y ago
I had it few time aswell, just cmd+p >ts reset 😉 if you are using vscode
Want results from more Discord servers?
Add your server