appolo-utils
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -42,5 +42,5 @@ export class Arrays { | ||
public static groupBy<T>(arr: T[], key: string | number | ((item: T) => string | number)) { | ||
public static groupBy<T>(arr: T[], key: string | number | ((item: T) => string | number)): { [index: string]: T[] } { | ||
let output = {}; | ||
let output: { [index: string]: T[] } = {}; | ||
@@ -47,0 +47,0 @@ for (let i = 0, len = arr.length; i < len; i++) { |
@@ -17,3 +17,3 @@ { | ||
"main": "./index.js", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -20,0 +20,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34575