diff --git a/package-lock.json b/package-lock.json index 218430b..5097575 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "chanfana", - "version": "2.6.0", + "version": "2.6.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "chanfana", - "version": "2.6.0", + "version": "2.6.1", "license": "MIT", "dependencies": { "@asteasolutions/zod-to-openapi": "^7.2.0", diff --git a/package.json b/package.json index bcbf1bb..1d8d4db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chanfana", - "version": "2.6.0", + "version": "2.6.1", "description": "OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/src/adapters/hono.ts b/src/adapters/hono.ts index f0ec21b..70fd074 100644 --- a/src/adapters/hono.ts +++ b/src/adapters/hono.ts @@ -85,7 +85,7 @@ export class HonoOpenAPIHandler extends OpenAPIHandler { } export function fromHono< - M extends Hono, + M extends Hono, E extends Env = M extends Hono ? E : never, S extends Schema = M extends Hono ? S : never, BasePath extends string = M extends Hono ? BP : never,