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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Ben
BenOP3y ago
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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Ben
BenOP3y ago
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
aether
aether2y ago
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.
shiroyasha9
shiroyasha92y ago
@Kayn do you have the ESLint extension installed? if yes, run the Restart ESLint Server command. That fixes this problem for me.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?