InvertByResult

import { InvertByResult } from "jsr:@ende/collections";

type alias

type InvertByResult<T extends Record<PropertyKey, PropertyKey>, K extends keyof T> = Record<PropertyKey, K[]>

Return type for invertBy.

Source