import { type z } from "https://dotland.deno.dev/x/zod@v3.22.0/mod.ts";
const { OutputTypeOfTupleWithRest } = z;
Type Parameters
T extends ZodTupleItems | []
optional
Rest extends ZodTypeAny | null = nulldefinition: Rest extends ZodTypeAny ? [...OutputTypeOfTuple<T>, ...Rest["_output"][]] : OutputTypeOfTuple<T>