diff --git a/webapp/src/app/utils.ts b/webapp/src/app/utils.ts index a13bdfe8..20216257 100644 --- a/webapp/src/app/utils.ts +++ b/webapp/src/app/utils.ts @@ -5,6 +5,7 @@ export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); } +// eslint-disable-next-line @typescript-eslint/no-explicit-any export function groupBy(arr: T[], key: (i: T) => K) { return arr.reduce( (groups, item) => { @@ -12,5 +13,5 @@ export function groupBy(arr: T[], key: (i: T) => K) { return groups; }, {} as Record - ) + ); }