docs: typo fix

This commit is contained in:
wobsoriano
2022-11-13 10:41:35 -08:00
parent 6768205318
commit d8e89297cd

View File

@@ -13,7 +13,7 @@ It is often useful to wrap functionality of your `@trpc/client` api within other
- `inferRouterInputs<TRouter>`
- `inferRouterOutputs<TRouter>`
Let's assume we have this example query wrapper within Nuxt's [useAsyncData](https://v3.nuxtjs.org/api/composables/use-async-data/):
Let's assume we have this example query wrapped within Nuxt's [useAsyncData](https://v3.nuxtjs.org/api/composables/use-async-data/):
```ts
const { data, error } = await useAsyncData(() => $client.todo.getTodos.query())