honojs / website

Repository for hono.dev
https://hono.dev
78 stars 261 forks source link

docs: fix the type issue of `c.var` #316

Closed sor4chi closed 5 months ago

sor4chi commented 5 months ago

Sharing the Env types for making enables the c.var type-infer whether using the handler with no middleware or not.

https://github.com/honojs/hono/issues/2559

yusukebe commented 5 months ago

Hi @sor4chi

I've left comments. Please check them.

sor4chi commented 5 months ago

Hi, @yusukebe. I fixed!