import { Dictionary , groupBy , keyBy } from 'lodash' ; export function groupByProp < T > ( items , prop ) { return groupBy ( items , prop ) ; } export function keyByProp < T > ( items , prop ) { return keyBy ( items , prop ) ; }