DT
Drizzle Team•5mo ago
Robin

Not type-safe [x:string]: any

Hello, I have created some Drizzle schemas and want to get some data. Pretty normal it seems like. However, sometimes/somehow, the type safety just dissapears. How can I fix this?
No description
2 Replies
rphlmr âš¡
rphlmr ⚡•5mo ago
👋 Can you share your tsconfig or check you have "strict": true in your tsconfig "compilerOptions"?
{
"compilerOptions": {
"strict": true, // this
}
}
{
"compilerOptions": {
"strict": true, // this
}
}
Also, if you have noUncheckedIndexedAccess, set it to false
Robin
RobinOP•5mo ago
I do have strict true and dont have noUncheked… Does bumping work
Want results from more Discord servers?
Add your server