@hono/zod-validator
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -9,3 +9,3 @@ import type { Context, MiddlewareHandler, Env, ValidationTargets } from 'hono'; | ||
error: ZodError; | ||
}, c: Context<E, P>) => Response | Promise<Response> | void; | ||
}, c: Context<E, P>) => Response | Promise<Response> | void | Promise<Response | void>; | ||
export declare const zValidator: <T extends z.ZodType<any, z.ZodTypeDef, any>, Target extends keyof ValidationTargets, E extends Env, P extends string, V extends { | ||
@@ -12,0 +12,0 @@ in: { [K in Target]: z.input<T>; }; |
{ | ||
"name": "@hono/zod-validator", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Validator middleware using Zod", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3631