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