UNPKG

@visulima/packem

Version:

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

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