Skip to content

Commit

Permalink
fix(zod-openapi): Export Hook in @hono/zod-openapi (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
WildEgo authored Dec 16, 2023
1 parent fd1f92b commit b8219d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nervous-berries-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hono/zod-openapi': patch
---

change: Export Hook in @hono/zod-openapi
2 changes: 1 addition & 1 deletion packages/zod-openapi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8219d9

Please sign in to comment.