Trouble with Hono and Typescript
I have a fully working server, built with Hono.
I am now, implementing typescript in my codebase.
This is my main file (paraphrased)
each handler and middleware are exported from separate files, like:
so, apparently, inside this file, the typescript server doesn't know this is supposed to be a route handler so
ctx
is "implicitly typed as any".
What is the best way to do this?
And where can i find documentation on this?
Thank you0 Replies