import { PrototypeOf } from "./prototype-of.type";
import { UnionToIntersection } from "./union-to-intersection.type";
export type ArrayToObject<T> = T extends Array<infer R> ? UnionToIntersection<PrototypeOf<R>> : never;
