You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What runtime/platform is your app running on? (with version if possible)
bun
What steps can reproduce the bug?
I'm encountering a TypeScript error when attempting to use the zValidator function from the @hono/zod-validator package. The error message is as follows:
Argumentoftype'T'isnotassignabletoparameteroftype'ZodType<any, ZodTypeDef, any>'.Type 'ZodType<any,ZodTypeDef,any>' is missing the following properties from type 'ZodType<any,ZodTypeDef,any>': "~standard", "~validate"ts(2345)(parameter)schema: TextendsZodSchema
Which middleware has the bug?
@hono/zod-validator
What version of the middleware?
0.4.3
What version of Hono are you using?
4.7.2
What runtime/platform is your app running on? (with version if possible)
bun
What steps can reproduce the bug?
I'm encountering a TypeScript error when attempting to use the zValidator function from the @hono/zod-validator package. The error message is as follows:
Code Example:
tsconfig
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: