Loosing ability to add more than one join/where/etc call when using a generic type definition
Hi, I struggle a bit with getting the types correct for this method using generics. The db variable is of type
NodePgDatabase<Record<string, unknown>>
. It seems like I'm not able to chain more than one join. The error I get is
This is working if I do not use the generics type T and just provide the fields directly.1 Reply
TS Playground - An online editor for exploring TypeScript and JavaS...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.