x/zod/types.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
type alias OutputTypeOfTupleWithRest
import { type OutputTypeOfTupleWithRest } from "https://deno.land/x/zod@v3.17.3/types.ts?s=OutputTypeOfTupleWithRest";

Type Parameters

T extends ZodTupleItems | [][src]
optional
Rest extends ZodTypeAny | null = null
[src]
defintion: Rest extends ZodTypeAny ? [...OutputTypeOfTuple<T>, ...Rest["_output"][]] : OutputTypeOfTuple<T>[src]