import { type UnionToIntersection } from "https://deno.land/x/live@1.60.26/deps.ts";
UnionToIntersection
Examples
// Expect: { name: string } & { age: number } & { visible: boolean }
UnionToIntersection<{ name: string } | { age: number } | { visible: boolean }>
// Expect: { name: string } & { age: number } & { visible: boolean } UnionToIntersection<{ name: string } | { age: number } | { visible: boolean }>