import { UnionToIntersection } from "../union-to-intersection"; export type NonUnion = [Type] extends [UnionToIntersection] ? Type : never;