InvertResultimport { InvertResult } from "jsr:@ende/collections";type aliastype InvertResult<T extends Record<PropertyKey, PropertyKey>> = { [P in keyof T as T[P]]: P }Return type for invert. Source