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