Comparing version 2.1.0 to 2.2.0
@@ -1,5 +0,4 @@ | ||
declare type Group<ItemType> = { | ||
export declare type Groups<ItemType> = { | ||
[key: string]: ItemType[]; | ||
}; | ||
export default function group<ItemType, GroupIdType extends string | number>(arr: ItemType[], getGroupId: (item: ItemType, index: number) => GroupIdType): Group<ItemType>; | ||
export {}; | ||
export default function group<ItemType, GroupIdType extends string | number>(arr: ItemType[], getGroupId: (item: ItemType, index: number) => GroupIdType): Groups<ItemType>; |
{ | ||
"name": "js-fns", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Modern JavaScript utility library focused on the build size", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
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
12802
378