Skip to content

[RFC]: improve type declarations for @stdlib/utils/group #1086

Closed
@kgryte

Description

@kgryte

Description

This RFC proposes improving the TypeScript type declarations for @stdlib/utils/group. 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

#1084

Questions

No.

Other

No.

Checklist

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.

Metadata

Metadata

Assignees

Labels

AcceptedRFC feature request which has been accepted.EnhancementIssue or pull request for enhancing existing functionality.Good First IssueA good first issue for new contributors!RFCRequest for comments. Feature requests and proposed changes.TypeScriptIssue involves or relates to TypeScript.difficulty: 1Low degree of difficulty. Should be straightforward to implement and/or resolve.priority: NormalNormal priority concern or feature request.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions