InvertByResultimport { InvertByResult } from "jsr:@ende/collections";type aliastype InvertByResult<T extends Record<PropertyKey, PropertyKey>, K extends keyof T> = Record<PropertyKey, K[]>Return type for invertBy. Source