message: refactor(utils): loosen keyBy types
diff: @@ -2,11 +2,11 @@ export const slugify = (text: string) =>
  text.toLowerCase().replace(/[^\w]+/g, '-');
  export const keyBy = (
  - array: { [key: string]: any }[],
  - keyFunc: (item: any) => string,
  - valFunc?: (item: any) => any
  + array: any[],
  + keyMap: (item: any) => string,
  + valMap?: (item: any) => any
  ) =>
  array.reduce((obj, item) => {
  - obj[keyFunc(item)] = valFunc ? valFunc(item) : item;
  + obj[keyMap(item)] = valMap ? valMap(item) : item;
  return obj;
  }, {});
  