Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.PassthroughType

import type { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { PassthroughType } = z;
type PassthroughType<T extends UnknownKeysParam> = T extends "passthrough" ? {
[k: string]: unknown;
}
: unknown
;

§Type Parameters

§Type

§
T extends "passthrough" ? {
[k: string]: unknown;
}
: unknown
[src]