fix(middleware): Context declaration
Fixes #2693
@yusukebe not sure it's the best way though, as denoify automatically adds node: to hono import... Without this import TS yells that hono is an "unknown" module...
The author should do the following, if applicable
- [ ] ~Add tests~ (n/a)
- [x] Run tests
- [x]
bun denoifyto generate files for Deno - [x]
bun run format:fix && bun run lint:fixto format the code
Hi @MonsterDeveloper thank you for the PR!
About the PR, can you wait for me to merge? Perhaps it will be fixed completely if Hono supports JSR.
@MonsterDeveloper
I got it. We should extend ../.. instead of ../../context. Could you fix them?
Oh my lovely TypeScript:)
Corrected to ../... Seems to be working too.
But now Deno is not happy...
@MonsterDeveloper
Oh... Then, wait until this PR is merged. The next minor version may be released soon, and it will be merged at that time!
@yusukebe hi! Seems like #2662 is merged now, can we resume the work on this PR?
The issue was fixed. This PR is not needed. Thanks!