cluster
should accept a callback instead of size argument
#299
aleclarson
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
It totally breaks |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This allows
cluster
to be used similarly togroup
Object.values(_.group(…))
?Because that results in
(number[] | undefined)[]
and there's nothing we can do about that, except for a manual type assertion (which is error-prone).Inspired by #287
Beta Was this translation helpful? Give feedback.
All reactions