Getting TypeScript warnings where they should not be
I started using Drizzle today and I realized that TypeScript checking in IntelliJ IDEA is showing warnings where it should be ok...
It is giving me proper options and also shows an error if the type is wrong, but I cannot get rid of the warnings for some reason.
Examples:
7 Replies
Are you importing the
eq()
function from "drizzle-orm"?yes
Well, it says
{where: any}
That shouldn't be anyyeah... I think that I found the issue... IntelliJ IDEA has a weird inspection check that is triggering this weird warning even the type is definitelly not
any
I just turned it off... I am still getting proper type checks even I disabled it so... 😄
I dont even understand what exactly is this inspection checking tbh 😄
I know IntelliJ has a custom typescript LSP that sometimes cause problems