Type Alias InvertByResult<T, K>

InvertByResult<T, K>: Record<PropertyKey, K[]>

Return type for invertBy.

Type Parameters

  • T extends Record<PropertyKey, PropertyKey>
  • K extends keyof T