Closed iceleo-com closed 1 month ago
I'm writing the function "findMany" in a Abstract Class. But the final result type seem to be mismatch. I tried tracing the type, but no luck. May anyone take a look and give me some advice? I appreciate everything!
There is no short version. If there were, we'd use it.
You should avoid trying to create generic helpers like this. Super strict (Kysely) and generic don't work well together.
I'm writing the function "findMany" in a Abstract Class. But the final result type seem to be mismatch. I tried tracing the type, but no luck. May anyone take a look and give me some advice? I appreciate everything!