import { type TransposeTuple } from "https://deno.land/x/deepmergets@v7.1.0/dist/deno/types/utils.ts";
Perfrom a transpose operation on a 2D tuple.
definition: T extends readonly [...(readonly [...unknown[]])] ? T extends readonly [] ? [] : T extends readonly [infer X extends ReadonlyArray<unknown>] ? TransposeTupleSimpleCase<X> : T extends readonly [infer X extends ReadonlyArray<unknown>, ...infer XS extends ReadonlyArray<ReadonlyArray<unknown>>] ? PrependCol<X, TransposeTuple<XS>> : T : never