@naturalcycles/js-lib
Version:
Standard library for universal (browser + Node.js) javascript
7 lines (6 loc) • 297 B
TypeScript
import { z as z4, ZodType } from 'zod';
import { customZodSchemas } from './zod.shared.schemas.js';
type ExtendedZod = Omit<typeof z4, keyof typeof customZodSchemas | 'iso'> & typeof customZodSchemas;
declare const z: ExtendedZod;
type zInfer<T> = z4.infer<T>;
export { z, type zInfer, ZodType };