DefinitelyTyped/types/group-array/index.d.ts
Richie Bendall 06b82c4e40 feat: Add types for group-array (#41819)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-23 10:45:53 -08:00

10 lines
369 B
TypeScript

// Type definitions for group-array 1.0
// Project: https://github.com/doowb/group-array
// Definitions by: Richie Bendall <https://github.com/Richienb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function groupArray(arr: object[], ...props: string[]): object;
declare function groupArray(arr: object[]): object[];
export = groupArray;