@appolo/utils
Advanced tools
Comparing version 8.0.23 to 8.0.24
@@ -151,7 +151,7 @@ import {Arrays} from "./arrays"; | ||
public keyBy(key?: string | ((item: K, index: number) => string)): { [index: string]: T } { | ||
public keyBy(key?: string | ((item: K, index: number) => string)): { [index: string]: K } { | ||
return Arrays.keyBy(this._value, key) | ||
} | ||
public groupBy(key: string | number | ((item: K) => string | number)): { [index: string]: T[] } { | ||
public groupBy(key: string | number | ((item: K) => string | number)): { [index: string]: K[] } { | ||
@@ -158,0 +158,0 @@ return Arrays.groupBy(this._value, key); |
@@ -20,3 +20,3 @@ { | ||
"main": "./index.js", | ||
"version": "8.0.23", | ||
"version": "8.0.24", | ||
"license": "MIT", | ||
@@ -23,0 +23,0 @@ "repository": { |
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