function countByimport { countBy } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; countBy<T extends unknown>(transformFn: (x: T) => any, list: T[]): Record<string, number>countBy<T extends unknown>(transformFn: (x: T) => any): (list: T[]) => Record<string, number>Type ParametersT extends unknownParameterstransformFn: (x: T) => anylist: T[]ReturnsRecord<string, number>Type ParametersT extends unknownParameterstransformFn: (x: T) => anyReturns(list: T[]) => Record<string, number>