UNPKG

@chubbyts/chubbyts-api

Version:

[![CI](https://github.com/chubbyts/chubbyts-api/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyts/chubbyts-api/actions?query=workflow%3ACI) [![Coverage Status](https://coveralls.io/repos/github/chubbyts/chubbyts-api/badge.svg?branch=maste

9 lines (8 loc) 238 B
import type { z } from 'zod'; type InvalidParameter = { name: string; reason: string; [key: string]: unknown; }; export declare const zodToInvalidParameters: <T>(zodError: z.ZodError<T>) => Array<InvalidParameter>; export {};