DT
Drizzle Team•11mo ago
Baterka

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:
No description
7 Replies
Angelelz
Angelelz•11mo ago
Are you importing the eq() function from "drizzle-orm"?
Baterka
BaterkaOP•11mo ago
yes
Angelelz
Angelelz•11mo ago
Well, it says {where: any} That shouldn't be any
Baterka
BaterkaOP•11mo ago
yeah... 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
Baterka
BaterkaOP•11mo ago
No description
Baterka
BaterkaOP•11mo ago
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 😄
Angelelz
Angelelz•11mo ago
I know IntelliJ has a custom typescript LSP that sometimes cause problems
Want results from more Discord servers?
Add your server