zod-form-data
Advanced tools
Comparing version
@@ -61,4 +61,4 @@ import { ZodString, ZodNumber, z, ZodArray, ZodTypeAny, ZodEffects, ZodObject } from 'zod'; | ||
type FormDataType = { | ||
<T extends z.ZodRawShape>(shape: T): ZodEffects<ZodObject<T>, z.output<ZodObject<T>>, FormData | FormDataLikeInput>; | ||
<T extends z.ZodTypeAny>(schema: T): ZodEffects<T, z.output<T>, FormData | FormDataLikeInput>; | ||
<T extends z.ZodRawShape>(shape: T): ZodEffects<ZodObject<T>, z.output<ZodObject<T>>, FormData | FormDataLikeInput | z.input<ZodObject<T>>>; | ||
<T extends z.ZodTypeAny>(schema: T): ZodEffects<T, z.output<T>, FormData | FormDataLikeInput | z.input<T>>; | ||
}; | ||
@@ -65,0 +65,0 @@ declare const json: <T extends ZodTypeAny>(schema: T) => ZodEffects<T>; |
{ | ||
"name": "zod-form-data", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"homepage": "https://github.com/airjp73/rvf/tree/main/packages/zod-form-data", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55045
0.2%