Skip to content

Commit 9ae11c3

Browse files
committed
fix(identitygrouping): delete obsolete "hash" field from IdentityGrouping
This is no longer used. The value itself can be used as a hash via ES6 Sets. BREAKING CHANGE: IdentityGrouping no longer has a "hash" field as using a hash no longer provides any benefit.
1 parent 2969ca9 commit 9ae11c3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,6 @@ export function mapKeyFirstBy<TKey, TElement, TNewElement>(
881881

882882
export interface IdentityGrouping<T> {
883883
readonly identity: (element: T) => unknown;
884-
readonly hash?: (element: T) => unknown;
885884
}
886885

887886
export interface EqualityGrouping<T> {

0 commit comments

Comments
 (0)