import { type TuplifyUnion } from "https://deno.land/x/deepmergets@v7.1.3/src/types/utils.ts";
Convert a union to a tuple.
Warning: The order of the elements is non-deterministic. Warning 2: The union maybe me modified by the TypeScript engine before convertion. Warning 3: This implementation relies on a hack/limitation in TypeScript.
Type Parameters
optional
L = LastOf<T>