import { type UnionToIntersection } from "https://deno.land/x/live@1.56.1/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 }>