Skip to content

Commit

Permalink
fix(docs): change typoinitTRPC() to initTRPC (#3431)
Browse files Browse the repository at this point in the history
Update router.md

Co-authored-by: Julius Marminge <julius0216@outlook.com>
  • Loading branch information
SrBrahma and juliusmarminge committed Dec 19, 2022
1 parent 7456981 commit 444bbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/docs/server/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ When initializing your router, tRPC allows you to:
You can use method chaining to customize your `t`-object on initialization. For example:

```ts
const t = initTRPC().context<Context>().meta<Meta>().create({
const t = initTRPC.context<Context>().meta<Meta>().create({
/* [...] */
});
```
Expand Down

3 comments on commit 444bbd6

@vercel
Copy link

@vercel vercel bot commented on 444bbd6 Dec 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

www – ./www

beta.trpc.io
www.trpc.io
trpc.io
www-trpc.vercel.app
www-git-main-trpc.vercel.app
alpha.trpc.io

@vercel
Copy link

@vercel vercel bot commented on 444bbd6 Dec 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

og-image – ./www/og-image

og-image-trpc.vercel.app
og-image.trpc.io
og-image-three-neon.vercel.app
og-image-git-main-trpc.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 444bbd6 Dec 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-prisma-starter – ./examples/next-prisma-starter

next-prisma-starter-git-main-trpc.vercel.app
next-prisma-starter-trpc.vercel.app
nextjs.trpc.io

Please sign in to comment.