@llllvvuu/zoderror-zod-schema
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

zoderror-zod-schema

This is mostly a codegen/docgen hack, it would be ideal to just use the z.ZodError class directly, but my OpenAPI tooling generates from Zod schemas so here is a Zod schema that matches the z.ZodError class.

TS-to-zod tooling didn't work out of the box for me so I manually supervised/massaged it and Copilot.

Usage

pnpm install @llllvvuu/zoderror-zod-schema
import { ZodErrorSchema, ZodIssueSchema } from "@llllvvuu/zoderror-zod-schema"

API Reference

API Report

Readme

Keywords

Package Sidebar

Install

npm i @llllvvuu/zoderror-zod-schema

Weekly Downloads

0

Version

0.1.6

License

ISC

Unpacked Size

62.1 kB

Total Files

11

Last publish

Collaborators

  • llllvvuu