Rob SchilderR
tRPC4w ago
1 reply
Rob Schilder

trpc with deno + hono + supabase edge functions

Hey guys,

I wanted to add tRPC alongside our existing Hono setup
using the official @hono/trpc-server adapter.

tRPC's type-safe client requires importing AppRouter from the server:

import type { AppRouter } from "../server/trpc" const trpc = createTRPCReact<AppRouter>()

Our server uses Deno-style imports (#report/repository/compose.ts) that Node.js TypeScript can't resolve. When the frontend tries to infer types from AppRouter, compilation fails.

Can any of you confirm whether it's possible to use Deno + tRPC in this way and it's a setup fault on our side? Or is this not possible?
Was this page helpful?