andrewplummer / Sugar

A Javascript library for working with native objects.

Home Page:https://sugarjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jhasselgren opened this issue · comments

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

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