Confused by recommendation to compile Hono App and Client
My question is specifically regarding this section of the documentation https://hono.dev/docs/guides/rpc#compile-your-code-before-using-it-recommended
I want to compile the types for my Hono client to take some of the workload off TSServer and utilise TSC, and because the VSCode extension for SvelteKit is incorrectly typing the responses returned from the client.
I have set up a Deno task and a tsconfig to run tsc on this code:
Into a folder located relatively at "../dist".
But how do I get TSServer to use the types output in this folder? Can someone share their implementation?
0 Replies