stdlib
stdlib copied to clipboard
[RFC]: improve type declarations for `@stdlib/utils/group-own`
Description
This RFC proposes improving the TypeScript type declarations for @stdlib/utils/group-own. Currently, considerable type information is lost when returning results, which are presently typed as any.
Ideally, we'd improve declarations similar to @stdlib/utils/group-by which better preserves type info.
Related Issues
https://github.com/stdlib-js/stdlib/issues/1084
Questions
No.
Other
No.
Checklist
- [X] I have read and understood the Code of Conduct.
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with
RFC:.