Replies: 1 comment
-
Changing `import { Hono } from "hono"; const app = new Hono(); app.get("/", (c) => { export type AppType = typeof app; Had to change it to `import { Hono } from "hono"; const app = new Hono() export type AppType = typeof app; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to setup hono rpc, but I'm not able to get the types or autocompletion for it. I did check to make sure the compiler options are set to strict: true and they are, but it doesn't seem to work.
If you don't mind checking https://github.com/nikevsoft/bun-monorepo what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions