stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

[RFC]: improve type declarations for `@stdlib/utils/group-own`

Open kgryte opened this issue 2 years ago • 0 comments

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:.

kgryte avatar Aug 18 '23 23:08 kgryte