REIW
Passing types along from Hono to Next
We are exploring using Hono as a BFF for our next.js app, which works well in our monorepo, however the types generated on the Hono server are not being passed over the wire to next.js. Can anyone point me in the right direction of what to explore.
hono server which has data typed correctly.
function to fetch the data
consuming the data in next.js with the data coming as untyped (Property 'data' does not exist on type 'unknown'.)
11 replies