jamesfoley
jamesfoley
Explore posts from servers
HHono
Created by jamesfoley on 10/29/2024 in #help
NotFoundHandler TypeScript Error
This works only if I set "noImplicitAny": false in deno.json. app.notFound is now comming from hono/zod-openapi and not from hono am I thinking of that correctly
5 replies
HHono
Created by jamesfoley on 10/29/2024 in #help
NotFoundHandler 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
HHono
Created by jamesfoley on 8/23/2024 in #help
Help Understanding Cache Middleware
Thanks for the help
3 replies
HHono
Created by jamesfoley on 8/12/2024 in #help
Live Reload With Deno
Thanks @blurSkye πŸ‡΅πŸ‡ΈπŸ‰ for the help greatly appreciated.
16 replies
HHono
Created by chrisyalamov on 6/30/2024 in #help
JSX Element type
I used ReactNode seems to have worked for me
4 replies
HHono
Created by jamesfoley on 8/12/2024 in #help
Live Reload With Deno
Thanks @blurSkye πŸ‡΅πŸ‡ΈπŸ‰, I will try and get something like it for Deno. If I get stuck would you be willing to take a look at my work and offer some guidance? Thanks for what you provided.
16 replies
HHono
Created by anya on 6/25/2024 in #help
struggles with routing with file extensions after optional path parameters
@anya did you get an answer to the regex question 06/25/24. I am having a similar problem. I want to match. /jim or /jim.htm or /jim.html to serve the static jim.html file. Did you end up writing your own middleware
2 replies