Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groupBy resultSelector values type is incorrect #170

Open
patsissons opened this issue Nov 29, 2017 · 2 comments
Open

groupBy resultSelector values type is incorrect #170

patsissons opened this issue Nov 29, 2017 · 2 comments

Comments

@patsissons
Copy link
Contributor

patsissons commented Nov 29, 2017

IxJS version:
2.3.1

Additional information:

createGrouping returns the grouped items as an array instead of an Iterable.

@mattpodwysocki
Copy link
Contributor

@patsissons but an Array is an Iterable, unless you're thinking it must be an IterableX type.

@patsissons
Copy link
Contributor Author

I don't see Iterable being assignable to Array (or vice versa), I am now on 2.3.4. The issue I am encountering is that the groupBy resultSelector values param is typed as Iterable, but I cannot use any Iterable operators on it because it is actually just an Array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants