Why is my prisma model typed as any?

added pictures. Basically I'm just trying to query my db after I pushed the models to the db with 'npx prisma db push'. I am using a Supabase so its a postresql db.
No description
No description
No description
5 Replies
Cody
Cody2y ago
I had this just happen to me, seemed to be a bug, restarting VSCode and TS server fixed it for me
Eylon
EylonOP2y ago
I've tried restarting TS server but it didnt change anything, restarting vscode works!!!! Thank you! blessjmg
Cody
Cody2y ago
Weird one, might be a new bug since mine literally just happened now on a new repo
ironnator
ironnator2y ago
This happens to me randomly throughout the day. I used to do the restart TS server, and if not, restart VS Code. But recently, I've just added a random line of code and it seems to get back on track, so something like a console.log('') lol
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server