tRPC complaining about unsafe assignment of any on mutation
Not sure what's causing this, anyone know why it would be complaining about the any type?
8 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It ended up being an ESLint problem, I just had to delete node_modules and npm i, and it started working, not sure what caused it to bork
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I did try that, didn't help. Only the full node_modules reinstall cleared it up, not sure what was going on there
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Adding into it, I usually do
prisma generate
into Restart TS Server
. Does the job most of the time. Or a prisma db push
into Restart TS Server
whichever does the job for me.@Kayn do you have the ESLint extension installed? if yes, run the
Restart ESLint Server
command. That fixes this problem for me.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View