Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/domain_functions/src/test-prelude.ts>z.ZodTuple

Decouple your business logic from your framework. With first-class type inference from end to end.
Go to Latest
import { z } from "https://deno.land/x/domain_functions@v2.6.0/src/test-prelude.ts";
const { ZodTuple } = z;

Type Parameters

optional
T extends [ZodTypeAny, ...ZodTypeAny[]] | [] = [ZodTypeAny, ...ZodTypeAny[]]
optional
Rest extends ZodTypeAny | null = null

Properties

readonly
items

Methods

_parse(input: ParseInput): ParseReturnType<this["_output"]>
rest<Rest extends ZodTypeAny>(rest: Rest): ZodTuple<T, Rest>

Static Properties

create: <T extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: T, params?: RawCreateParams) => ZodTuple<T, null>