Join Slack
Communities
Powered by
What the best way have a function that accepts mul...
# orm-help
b
Bernat Jufré
03/07/2022, 2:23 PM
What the best way have a function that accepts multiple “delegates” I have a generic function that should be able to get
const model = db[entityType]
and return
[model.count(), model.findMany()]
but the TS compiler is complaining because of the different
Delegates
types
3
Views
Open in Slack
Previous
Next