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

Typescript typing Array.inGroups and Array.inGroups should return T[][] #650

Open
jhasselgren opened this issue Mar 12, 2019 · 1 comment

Comments

@jhasselgren
Copy link

jhasselgren commented Mar 12, 2019

inGroups<T>(instance: T[], num: number, padding?: any): T[];
inGroupsOf<T>(instance: T[], num: number, padding?: any): T[];

Should be =>

inGroups<T>(instance: T[], num: number, padding?: any): T[][];
inGroupsOf<T>(instance: T[], num: number, padding?: any): T[][];

Using version: 2.0.6

@andrewplummer
Copy link
Owner

Thanks... having a major look at TS definitions... will include this!

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