[Fixed] is not assignable to parameter type Record<string, PgColumnBuilder>

Hi, Trying to install Drizzle, using the basic example from the docs. Getting the following error:
Argument type {phone: PgVarcharBuilder<{name: "phone", dataType: "string", columnType: "PgVarchar", data: [string, ...string[]][number], driverParam: string, enumValues: [string, ...string[]]}>, fullName: PgTextBuilder<{name: "full_name", dataType: "string", columnType: "PgText", data: [string, ...string[]][number], enumValues: [string, ...string[]], driverParam: string}>, id: PgSerialBuilder & {_: {notNull: true}}} is not assignable to parameter type Record<string, PgColumnBuilder>
Argument type {phone: PgVarcharBuilder<{name: "phone", dataType: "string", columnType: "PgVarchar", data: [string, ...string[]][number], driverParam: string, enumValues: [string, ...string[]]}>, fullName: PgTextBuilder<{name: "full_name", dataType: "string", columnType: "PgText", data: [string, ...string[]][number], enumValues: [string, ...string[]], driverParam: string}>, id: PgSerialBuilder & {_: {notNull: true}}} is not assignable to parameter type Record<string, PgColumnBuilder>
Not sure what to do from here. Tried a few combination of pg/postgres thinking maybe some type declaration where messing things up but yeah, couldn't find anything tbh... Thanks!
No description
1 Reply
yonben
yonben13mo ago
FWIW it was a Webstorm specific inspection error, which looked like a Typescript error
Want results from more Discord servers?
Add your server