typescript error with mode: 'planetscale'

the full error message is - Argument of type '{ schema: typeof schema; mode: string; }' is not assignable to parameter of type 'DrizzleConfig<typeof import("/Users/kalvinyu/Documents/100DaysCode/uniqueboutique/src/db/schema")>'. Object literal may only specify known properties, and 'mode' does not exist in type 'DrizzleConfig<typeof import("/Users/kalvinyu/Documents/100DaysCode/uniqueboutique/src/db/schema")>'. [2345]
No description
1 Reply
canto
cantoOP11mo ago
i cant seem to figure how to fix it and when change the bottom line it seems to cause type errors elsewhere.
Want results from more Discord servers?
Add your server