UNPKG

@visulima/packem

Version:

A fast and modern bundler for Node.js and TypeScript.

4 lines (3 loc) 193 B
type Key = number | string | symbol; declare const groupByKeys: <T extends Record<Key, unknown>>(array: T[], key1: Key, key2: Key) => Record<string, Record<string, T[]>>; export = groupByKeys;