diff --git a/src/app.ts b/src/app.ts index 2806961..a00bd2a 100644 --- a/src/app.ts +++ b/src/app.ts @@ -10,6 +10,7 @@ import { type Handler, Hono, type HonoEnv, + Input, logger, type MiddlewareHandler, sentryMiddleware, @@ -102,7 +103,7 @@ interface AppEnv extends HonoEnv { type AppContext = Context; type AppMiddleware = MiddlewareHandler; -type AppController = Handler; +type AppController = Handler>; const app = new Hono(); diff --git a/src/deps.ts b/src/deps.ts index 07ad53d..14fa9ae 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -5,6 +5,7 @@ export { type Handler, Hono, HTTPException, + type Input, type MiddlewareHandler, } from 'https://deno.land/x/hono@v3.10.1/mod.ts'; export { cors, logger, serveStatic } from 'https://deno.land/x/hono@v3.10.1/middleware.ts';