x/zod/mod.ts

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

Type Parameters

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