Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(model.d): fix findAndCountAll.count type (#13736)
* fix(model.d): fix findAndCountAll.count type `findAndCountAll` should only return `count` as an array when the `group` option is provided. This means in that case, `options` is no longer optional because when `options` is not provided, it's never a group count. I also rearrange `findAndCountAll` order to ensure the single count overload is applied first. * refactor(model): add fix type for findAllAndCount * refactor(model): tidy up type with SetRequired Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
- Loading branch information