TypeScript complaining about using a spread operator in partial select query
TypeScript complaining about me using a spread operator in partial select query.
I have the following query joining data on two tables,
I am using
I have the following query joining data on two tables,
userData and users. The query works as intended on the client side but TypeScript is complaining about me using a spread operator ...userData, (line 3) with TS2345: Argument of type [...] is not assignable to parameter of type SelectedFieldsI am using
"drizzle-orm": "^0.28.6"