You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The workaround is to add as any after the call to suppress warnings. Not sure what the proper fix is in the type definition itself, but happy to PR with guidance :)
The text was updated successfully, but these errors were encountered:
Currently, Model.count has this signature:
However, if you pass
group
options to the count call, the return is an array. For example, assuming a naive blog posts table with anauthor_id
column:The workaround is to add
as any
after the call to suppress warnings. Not sure what the proper fix is in the type definition itself, but happy to PR with guidance :)The text was updated successfully, but these errors were encountered: