diff --git a/docs/plugins/trpc.md b/docs/plugins/trpc.md index b6194ee0..6abbf316 100644 --- a/docs/plugins/trpc.md +++ b/docs/plugins/trpc.md @@ -53,7 +53,7 @@ const app = new Elysia().use(trpc(router)).listen(3000) Accept the tRPC router and register to Elysia's handler. -````ts +```typescript trpc( router: Router, option?: { @@ -67,4 +67,3 @@ trpc( ### endpoint The path to the exposed TRPC endpoint. -````