jamesfoley
Explore posts from serversNotFoundHandler TypeScript Error
I am not sure how to fix this I am using hono/zod-openapi if I create the hono instance with app = new Hono() i do not get this type error. If I use new OpenAPIHono() I get the type error. I am not a typescript wizard. So my thinking is that I have somehow tell typescript that the types from hono should apply to the tpyes from hono/zod-open api. Does this mean I should extend the NotFoundHandler type?
@pietrodev
5 replies