Skip to content

Glossary: TypeScript Beyond the Basics

z.ZodType

Also written: z.ZodType<T>, ZodType

The type of any Zod schema whose parsed result is a `T`. A function taking `z.ZodType<T>` infers `T` from the schema you pass and returns data that's really a `T`.

Where the book teaches it

Related terms

SchemaGeneric