lucagg
TTCTheo's Typesafe Cult
•Created by lucagg on 7/13/2023 in #questions
Issues With Prisma Return types
damn so i tried running that. Then i tried deleting the node modules and running yarn and then npx prisma generate, then i tried the reverse deleting the node modules then running npx prisma generate and then yarn. All returned the same result, Its strange though because using an old t3 project i have on my lapot i can copy my code into there and the types are correct, but if i spin up a new t3 project and drop this same code in there it has the same problem....
23 replies
TTCTheo's Typesafe Cult
•Created by lucagg on 7/13/2023 in #questions
Issues With Prisma Return types
23 replies
TTCTheo's Typesafe Cult
•Created by lucagg on 7/13/2023 in #questions
Issues With Prisma Return types
okay sounds good, thanks again 🙇♂️
23 replies
TTCTheo's Typesafe Cult
•Created by lucagg on 7/13/2023 in #questions
Issues With Prisma Return types
23 replies
TTCTheo's Typesafe Cult
•Created by lucagg on 7/13/2023 in #questions
Issues With Prisma Return types
@lopen3 hey thank you so much for the response, greatly appreciated. Yep I have tried regenerating the prisma types, restarting my ts server and vs code. I even messed with the Tsserver: Use Syntax Server setting (changing it from auto to always) but the only impact that had was making everything type any lol. Again thank you for responding.
23 replies