from 'hono/client' // this is a trick to calculate the type when compiling const client = hc<typeof app>('') export type Client = typeof client export const hcWithType = (...args: Parameters<typeof hc>): Client => hc<typeof app>(…args) // ී௨ const route = app.post( // লུ ) export type AppType = typeof route