fix(zod-openapi): Export Hook in @hono/zod-openapi (#313)

pull/315/head
Luis Bizarro 2023-12-16 01:39:13 +00:00 committed by GitHub
parent fd1f92b815
commit b8219d9b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/zod-openapi': patch
---
change: Export Hook in @hono/zod-openapi

View File

@ -134,7 +134,7 @@ type OutputType<R extends RouteConfig> = R['responses'] extends Record<infer _,
: {}
: {}
type Hook<T, E extends Env, P extends string, O> = (
export type Hook<T, E extends Env, P extends string, O> = (
result:
| {
success: true